﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>博客园-ShanTou University::happyhippy-随笔分类-.Net Framework </title><link>http://www.cnblogs.com/happyhippy/category/79933.html</link><description>

Silent Void
body{filter:gray;}</description><language>zh-cn</language><lastBuildDate>Mon, 26 May 2008 12:19:55 GMT</lastBuildDate><pubDate>Mon, 26 May 2008 12:19:55 GMT</pubDate><ttl>60</ttl><item><title>CLR 完全介绍:研究内存问题（zz）</title><link>http://www.cnblogs.com/happyhippy/archive/2008/01/14/1038741.html</link><dc:creator>Silent Void</dc:creator><author>Silent Void</author><pubDate>Mon, 14 Jan 2008 12:17:00 GMT</pubDate><guid>http://www.cnblogs.com/happyhippy/archive/2008/01/14/1038741.html</guid><wfw:comment>http://www.cnblogs.com/happyhippy/comments/1038741.html</wfw:comment><comments>http://www.cnblogs.com/happyhippy/archive/2008/01/14/1038741.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/happyhippy/comments/commentRss/1038741.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/happyhippy/services/trackbacks/1038741.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 使用的工具<br>GC 性能计数器<br>Windows 性能计数器<br>确认托管进程中的 OOM 异常<br>确定导致 OOM 异常的原因<br>衡量托管堆的大小<br>如果对象保留下来会怎样？<br>托管堆上的碎片是否会造成问题？<br>衡量在垃圾收集上花费的时间<br>研究高 CPU 使用&nbsp;&nbsp;<a href='http://www.cnblogs.com/happyhippy/archive/2008/01/14/1038741.html'>阅读全文</a><img src ="http://www.cnblogs.com/happyhippy/aggbug/1038741.html?type=1" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://happyhippy.cnblogs.com/" target="_blank">Silent Void</a> 2008-01-14 20:17 <a href="http://www.cnblogs.com/happyhippy/archive/2008/01/14/1038741.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Delegate中的异步调用</title><link>http://www.cnblogs.com/happyhippy/archive/2007/07/23/827901.html</link><dc:creator>Silent Void</dc:creator><author>Silent Void</author><pubDate>Mon, 23 Jul 2007 02:07:00 GMT</pubDate><guid>http://www.cnblogs.com/happyhippy/archive/2007/07/23/827901.html</guid><wfw:comment>http://www.cnblogs.com/happyhippy/comments/827901.html</wfw:comment><comments>http://www.cnblogs.com/happyhippy/archive/2007/07/23/827901.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/happyhippy/comments/commentRss/827901.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/happyhippy/services/trackbacks/827901.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 1. 用EndInvoke等待异步调用；<br>2. 用WaitHandle等待异步调用；<br>3. 轮训查询等待异步调用；<br>4. 异步调用完成后，执行回调......&nbsp;&nbsp;<a href='http://www.cnblogs.com/happyhippy/archive/2007/07/23/827901.html'>阅读全文</a><img src ="http://www.cnblogs.com/happyhippy/aggbug/827901.html?type=1" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://happyhippy.cnblogs.com/" target="_blank">Silent Void</a> 2007-07-23 10:07 <a href="http://www.cnblogs.com/happyhippy/archive/2007/07/23/827901.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>深入理解virtual/new/override 这些关键字的意义</title><link>http://www.cnblogs.com/happyhippy/archive/2007/07/22/827583.html</link><dc:creator>Silent Void</dc:creator><author>Silent Void</author><pubDate>Sun, 22 Jul 2007 13:52:00 GMT</pubDate><guid>http://www.cnblogs.com/happyhippy/archive/2007/07/22/827583.html</guid><wfw:comment>http://www.cnblogs.com/happyhippy/comments/827583.html</wfw:comment><comments>http://www.cnblogs.com/happyhippy/archive/2007/07/22/827583.html#Feedback</comments><slash:comments>6</slash:comments><wfw:commentRss>http://www.cnblogs.com/happyhippy/comments/commentRss/827583.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/happyhippy/services/trackbacks/827583.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 深入介绍virtual/new/override 这些关键字的意义<br>&nbsp;&nbsp;<a href='http://www.cnblogs.com/happyhippy/archive/2007/07/22/827583.html'>阅读全文</a><img src ="http://www.cnblogs.com/happyhippy/aggbug/827583.html?type=1" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://happyhippy.cnblogs.com/" target="_blank">Silent Void</a> 2007-07-22 21:52 <a href="http://www.cnblogs.com/happyhippy/archive/2007/07/22/827583.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>托管堆上对象的大小(Size)和Layout</title><link>http://www.cnblogs.com/happyhippy/archive/2007/04/17/717028.html</link><dc:creator>Silent Void</dc:creator><author>Silent Void</author><pubDate>Tue, 17 Apr 2007 08:42:00 GMT</pubDate><guid>http://www.cnblogs.com/happyhippy/archive/2007/04/17/717028.html</guid><wfw:comment>http://www.cnblogs.com/happyhippy/comments/717028.html</wfw:comment><comments>http://www.cnblogs.com/happyhippy/archive/2007/04/17/717028.html#Feedback</comments><slash:comments>8</slash:comments><wfw:commentRss>http://www.cnblogs.com/happyhippy/comments/commentRss/717028.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/happyhippy/services/trackbacks/717028.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要:     默认情况下，C#编译器会在引用类型上运用[StructLayoutAttribute(LayoutKind.Auto)]特性，即按照CLR认为的最佳方式来排序实例中的字段顺序；当运用[StructLayout(LayoutKind.Sequential)]特性时，CLR会按照字段成员在被导出到非托管内存时出现的顺序依次布局，但我的测试结果是：貌似使用LayoutKind.Sequential与使用LayoutKind.Auto的结果相同；当运用[StructLayout(LayoutKind.Explicit)]时，我们可以自己设置实例中字段的位置。<br>    在32位的计算机上，默认情况下，对于引用类型的实例，CLR总是按4byte进行内存对齐。&nbsp;&nbsp;<a href='http://www.cnblogs.com/happyhippy/archive/2007/04/17/717028.html'>阅读全文</a><img src ="http://www.cnblogs.com/happyhippy/aggbug/717028.html?type=1" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://happyhippy.cnblogs.com/" target="_blank">Silent Void</a> 2007-04-17 16:42 <a href="http://www.cnblogs.com/happyhippy/archive/2007/04/17/717028.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>.net托管环境下struct实例字段的内存布局(Layout)和大小(Size)</title><link>http://www.cnblogs.com/happyhippy/archive/2007/04/12/710927.html</link><dc:creator>Silent Void</dc:creator><author>Silent Void</author><pubDate>Thu, 12 Apr 2007 08:58:00 GMT</pubDate><guid>http://www.cnblogs.com/happyhippy/archive/2007/04/12/710927.html</guid><wfw:comment>http://www.cnblogs.com/happyhippy/comments/710927.html</wfw:comment><comments>http://www.cnblogs.com/happyhippy/archive/2007/04/12/710927.html#Feedback</comments><slash:comments>7</slash:comments><wfw:commentRss>http://www.cnblogs.com/happyhippy/comments/commentRss/710927.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/happyhippy/services/trackbacks/710927.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 默认(LayoutKind.Sequential)情况下，CLR对struct的Layout的处理方法与C/C++中默认的处理方式相同，即按照结构中占用空间最大的成员进行对齐(Align)；<br>使用LayoutKind.Explicit的情况下，CLR不对结构体进行任何内存对齐(Align)，而且我们要小心就是FieldOffset；<br>使用LayoutKind.Auto的情况下，CLR会对结构体中的字段顺序进行调整，使实例占有尽可能少的内存，并进行4byte的内存对齐(Align)。 <br>&nbsp;&nbsp;<a href='http://www.cnblogs.com/happyhippy/archive/2007/04/12/710927.html'>阅读全文</a><img src ="http://www.cnblogs.com/happyhippy/aggbug/710927.html?type=1" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://happyhippy.cnblogs.com/" target="_blank">Silent Void</a> 2007-04-12 16:58 <a href="http://www.cnblogs.com/happyhippy/archive/2007/04/12/710927.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Boolean和bool VS. 鸡蛋和鸡</title><link>http://www.cnblogs.com/happyhippy/archive/2007/04/12/710928.html</link><dc:creator>Silent Void</dc:creator><author>Silent Void</author><pubDate>Thu, 12 Apr 2007 08:58:00 GMT</pubDate><guid>http://www.cnblogs.com/happyhippy/archive/2007/04/12/710928.html</guid><wfw:comment>http://www.cnblogs.com/happyhippy/comments/710928.html</wfw:comment><comments>http://www.cnblogs.com/happyhippy/archive/2007/04/12/710928.html#Feedback</comments><slash:comments>4</slash:comments><wfw:commentRss>http://www.cnblogs.com/happyhippy/comments/commentRss/710928.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/happyhippy/services/trackbacks/710928.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要:     MSDN中解释bool与Boolean的关系是：“bool 关键字是 System.Boolean 的别名”。观察上面的Boolean类型定义，在其继承的泛型接口和成员变量中，我们找到了“bool”的影子(我想可能时Reflector将IL代码反汇编时将类型Boolean翻译成C#中的关键字bool)，也就是说Boolean的定义依赖与bool(Boolean)。这就好比鸡蛋与鸡，到底是先有鸡蛋还是先有鸡？到底是先有Boolean的类型定义还是先有Boolean类型呢？ &nbsp;&nbsp;<a href='http://www.cnblogs.com/happyhippy/archive/2007/04/12/710928.html'>阅读全文</a><img src ="http://www.cnblogs.com/happyhippy/aggbug/710928.html?type=1" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://happyhippy.cnblogs.com/" target="_blank">Silent Void</a> 2007-04-12 16:58 <a href="http://www.cnblogs.com/happyhippy/archive/2007/04/12/710928.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>使用SOS - 在Visual Studio中启用非托管代码调试来支持本机代码调试</title><link>http://www.cnblogs.com/happyhippy/archive/2007/04/11/710930.html</link><dc:creator>Silent Void</dc:creator><author>Silent Void</author><pubDate>Tue, 10 Apr 2007 19:34:00 GMT</pubDate><guid>http://www.cnblogs.com/happyhippy/archive/2007/04/11/710930.html</guid><wfw:comment>http://www.cnblogs.com/happyhippy/comments/710930.html</wfw:comment><comments>http://www.cnblogs.com/happyhippy/archive/2007/04/11/710930.html#Feedback</comments><slash:comments>4</slash:comments><wfw:commentRss>http://www.cnblogs.com/happyhippy/comments/commentRss/710930.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/happyhippy/services/trackbacks/710930.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: SOS(Son of Strike)扩展调试器可以用来显示CLR数据结构的内容。SOS是作为.net framework的一部分安装的(SOS.dll)，位于%windir%\Microsoft.NET\Framework\v*.*.****(版本号)\目录下。在使用SOS(加载SOS.dll)进行调试的步骤&nbsp;&nbsp;<a href='http://www.cnblogs.com/happyhippy/archive/2007/04/11/710930.html'>阅读全文</a><img src ="http://www.cnblogs.com/happyhippy/aggbug/710930.html?type=1" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://happyhippy.cnblogs.com/" target="_blank">Silent Void</a> 2007-04-11 03:34 <a href="http://www.cnblogs.com/happyhippy/archive/2007/04/11/710930.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Effective C# 摘录(6) - 杂项讨论</title><link>http://www.cnblogs.com/happyhippy/archive/2007/04/11/710931.html</link><dc:creator>Silent Void</dc:creator><author>Silent Void</author><pubDate>Tue, 10 Apr 2007 17:04:00 GMT</pubDate><guid>http://www.cnblogs.com/happyhippy/archive/2007/04/11/710931.html</guid><wfw:comment>http://www.cnblogs.com/happyhippy/comments/710931.html</wfw:comment><comments>http://www.cnblogs.com/happyhippy/archive/2007/04/11/710931.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/happyhippy/comments/commentRss/710931.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/happyhippy/services/trackbacks/710931.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 优先选择强异常安全保证；最小化互操作；优先选择安全代码；掌握相关工具与资源；为C#2.0做准备；了解ECMA标准&nbsp;&nbsp;<a href='http://www.cnblogs.com/happyhippy/archive/2007/04/11/710931.html'>阅读全文</a><img src ="http://www.cnblogs.com/happyhippy/aggbug/710931.html?type=1" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://happyhippy.cnblogs.com/" target="_blank">Silent Void</a> 2007-04-11 01:04 <a href="http://www.cnblogs.com/happyhippy/archive/2007/04/11/710931.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Effective C# 摘录(5) - 使用框架</title><link>http://www.cnblogs.com/happyhippy/archive/2007/04/09/710932.html</link><dc:creator>Silent Void</dc:creator><author>Silent Void</author><pubDate>Mon, 09 Apr 2007 15:21:00 GMT</pubDate><guid>http://www.cnblogs.com/happyhippy/archive/2007/04/09/710932.html</guid><wfw:comment>http://www.cnblogs.com/happyhippy/comments/710932.html</wfw:comment><comments>http://www.cnblogs.com/happyhippy/archive/2007/04/09/710932.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/happyhippy/comments/commentRss/710932.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/happyhippy/services/trackbacks/710932.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 重写函数优于事件处理器；理使用.NET运行时诊断；使用标准配置机制；定制和支持数据绑定；使用.NET验证；根据需要选用恰当的集合；优先选择DataSet，而不是使用自定义结构；利用特性简化反射；避免过度使用反射&nbsp;&nbsp;<a href='http://www.cnblogs.com/happyhippy/archive/2007/04/09/710932.html'>阅读全文</a><img src ="http://www.cnblogs.com/happyhippy/aggbug/710932.html?type=1" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://happyhippy.cnblogs.com/" target="_blank">Silent Void</a> 2007-04-09 23:21 <a href="http://www.cnblogs.com/happyhippy/archive/2007/04/09/710932.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Effective C# 摘录(4) - 创建二进制组件</title><link>http://www.cnblogs.com/happyhippy/archive/2007/04/08/704509.html</link><dc:creator>Silent Void</dc:creator><author>Silent Void</author><pubDate>Sun, 08 Apr 2007 03:28:00 GMT</pubDate><guid>http://www.cnblogs.com/happyhippy/archive/2007/04/08/704509.html</guid><wfw:comment>http://www.cnblogs.com/happyhippy/comments/704509.html</wfw:comment><comments>http://www.cnblogs.com/happyhippy/archive/2007/04/08/704509.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/happyhippy/comments/commentRss/704509.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/happyhippy/services/trackbacks/704509.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 尽可能实现CLS兼容的程序集;尽可能实现短小简洁的函数;尽可能实现小而内聚的程序集;限制类型的可见性;创建大粒度的Web&nbsp;&nbsp;<a href='http://www.cnblogs.com/happyhippy/archive/2007/04/08/704509.html'>阅读全文</a><img src ="http://www.cnblogs.com/happyhippy/aggbug/704509.html?type=1" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://happyhippy.cnblogs.com/" target="_blank">Silent Void</a> 2007-04-08 11:28 <a href="http://www.cnblogs.com/happyhippy/archive/2007/04/08/704509.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>WinDbg配置和使用基础</title><link>http://www.cnblogs.com/happyhippy/archive/2007/04/08/710933.html</link><dc:creator>Silent Void</dc:creator><author>Silent Void</author><pubDate>Sat, 07 Apr 2007 16:08:00 GMT</pubDate><guid>http://www.cnblogs.com/happyhippy/archive/2007/04/08/710933.html</guid><wfw:comment>http://www.cnblogs.com/happyhippy/comments/710933.html</wfw:comment><comments>http://www.cnblogs.com/happyhippy/archive/2007/04/08/710933.html#Feedback</comments><slash:comments>12</slash:comments><wfw:commentRss>http://www.cnblogs.com/happyhippy/comments/commentRss/710933.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/happyhippy/services/trackbacks/710933.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 运行WinDbg->菜单->File->Symbol File Path->按照下面的方法设置_NT_SYMBOL_PATH变量：在弹出的框中输入“C:\MyCodesSymbols; SRV*C:\MyLocalSymbols*http://msdl.microsoft.com/download/symbols”(按照这样设置，WinDbg将先从本地文件夹C:\MyCodesSymbols中查找Symbol，如果找不到，则自动从MS的Symbol Server上下载Symbols)。另一种做法是从这个Symbol下载地址中http://www.microsoft.com/whdc/devtools/debugging/symbolpkg.mspx，下载相应操作系统所需要的完整的Symbol安装包，并进行安装，例如我将其安装在D:\WINDOWS\Symbols，在该框中输入“D:\WINDOWS\Symbols”。&nbsp;&nbsp;<a href='http://www.cnblogs.com/happyhippy/archive/2007/04/08/710933.html'>阅读全文</a><img src ="http://www.cnblogs.com/happyhippy/aggbug/710933.html?type=1" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://happyhippy.cnblogs.com/" target="_blank">Silent Void</a> 2007-04-08 00:08 <a href="http://www.cnblogs.com/happyhippy/archive/2007/04/08/710933.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>类的静态构造函数的其他几个注意点</title><link>http://www.cnblogs.com/happyhippy/archive/2007/04/05/710935.html</link><dc:creator>Silent Void</dc:creator><author>Silent Void</author><pubDate>Thu, 05 Apr 2007 10:58:00 GMT</pubDate><guid>http://www.cnblogs.com/happyhippy/archive/2007/04/05/710935.html</guid><wfw:comment>http://www.cnblogs.com/happyhippy/comments/710935.html</wfw:comment><comments>http://www.cnblogs.com/happyhippy/archive/2007/04/05/710935.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/happyhippy/comments/commentRss/710935.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/happyhippy/services/trackbacks/710935.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 禁止在一个类的静态构造函数中访问另一个类中的静态成员…… 在类的静态构造函数不能有异常抛出…… C#中不支持子类继承父类的静态成员，但却可以通过子类类名来访问父类的静态成员……<br>&nbsp;&nbsp;<a href='http://www.cnblogs.com/happyhippy/archive/2007/04/05/710935.html'>阅读全文</a><img src ="http://www.cnblogs.com/happyhippy/aggbug/710935.html?type=1" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://happyhippy.cnblogs.com/" target="_blank">Silent Void</a> 2007-04-05 18:58 <a href="http://www.cnblogs.com/happyhippy/archive/2007/04/05/710935.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>静态构造函数的执行时机</title><link>http://www.cnblogs.com/happyhippy/archive/2007/04/04/710936.html</link><dc:creator>Silent Void</dc:creator><author>Silent Void</author><pubDate>Tue, 03 Apr 2007 23:17:00 GMT</pubDate><guid>http://www.cnblogs.com/happyhippy/archive/2007/04/04/710936.html</guid><wfw:comment>http://www.cnblogs.com/happyhippy/comments/710936.html</wfw:comment><comments>http://www.cnblogs.com/happyhippy/archive/2007/04/04/710936.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/happyhippy/comments/commentRss/710936.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/happyhippy/services/trackbacks/710936.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: if(如果为类显式定义静态构造函数，例如上面的Type1) { if(程序中有访问该类的任意静态或实例成员) { 在进入Main函数之后，第一次访问该类中所定义的任何静态或实例成员之前，先调用静态构造函数； 以后将不再调用该静态构造函数，同一个静态构造函数最多只调用一次！ } else { 程序中不调用该类的静态构造函数； } else { if(程序中有访问该类的任意静态或实例成员) { 在执行Main函数中的代码之前，先调用静态构造函数； 以后将不再调用该静态构造函数，同一个静态构造函数最多只调用一次！ } else { 程序中不调用该类的静态构造函数； } } &nbsp;&nbsp;<a href='http://www.cnblogs.com/happyhippy/archive/2007/04/04/710936.html'>阅读全文</a><img src ="http://www.cnblogs.com/happyhippy/aggbug/710936.html?type=1" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://happyhippy.cnblogs.com/" target="_blank">Silent Void</a> 2007-04-04 07:17 <a href="http://www.cnblogs.com/happyhippy/archive/2007/04/04/710936.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>用伪随机数生成器Random生成随机数序列</title><link>http://www.cnblogs.com/happyhippy/archive/2007/04/03/698384.html</link><dc:creator>Silent Void</dc:creator><author>Silent Void</author><pubDate>Tue, 03 Apr 2007 07:08:00 GMT</pubDate><guid>http://www.cnblogs.com/happyhippy/archive/2007/04/03/698384.html</guid><wfw:comment>http://www.cnblogs.com/happyhippy/comments/698384.html</wfw:comment><comments>http://www.cnblogs.com/happyhippy/archive/2007/04/03/698384.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/happyhippy/comments/commentRss/698384.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/happyhippy/services/trackbacks/698384.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 伪随机数(有库函数产生)与“理想中的”“真”随机数不同，伪随机数是由可确定的(deterministic)函数产生，虽然随机函数可以产生有随机特征的数字序列，但这些数字并不不具备真随机数的一些特性，并非统计意义上的随机数。伪随机数是可以确定的：知道序列中的一个数就可以获得其他剩下数字的有关信息；事实上，如果知道了序列的初始值(种子)通常可以确定整个序列。记得大一上计算机专业基础课的第一节课上，老师就给我们介绍了计算机程序的5个特性(详见附1)，其中的一点就是确定性，即“对于相同的输入只能得出相同的输出”，伪随机数的生成正是符合这条金科玉律……&nbsp;&nbsp;<a href='http://www.cnblogs.com/happyhippy/archive/2007/04/03/698384.html'>阅读全文</a><img src ="http://www.cnblogs.com/happyhippy/aggbug/698384.html?type=1" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://happyhippy.cnblogs.com/" target="_blank">Silent Void</a> 2007-04-03 15:08 <a href="http://www.cnblogs.com/happyhippy/archive/2007/04/03/698384.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Effective C# 摘录(3) - 使用C#表达设计 </title><link>http://www.cnblogs.com/happyhippy/archive/2007/03/20/681428.html</link><dc:creator>Silent Void</dc:creator><author>Silent Void</author><pubDate>Tue, 20 Mar 2007 08:56:00 GMT</pubDate><guid>http://www.cnblogs.com/happyhippy/archive/2007/03/20/681428.html</guid><wfw:comment>http://www.cnblogs.com/happyhippy/comments/681428.html</wfw:comment><comments>http://www.cnblogs.com/happyhippy/archive/2007/03/20/681428.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/happyhippy/comments/commentRss/681428.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/happyhippy/services/trackbacks/681428.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 使用C#表达设计 &nbsp;&nbsp;<a href='http://www.cnblogs.com/happyhippy/archive/2007/03/20/681428.html'>阅读全文</a><img src ="http://www.cnblogs.com/happyhippy/aggbug/681428.html?type=1" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://happyhippy.cnblogs.com/" target="_blank">Silent Void</a> 2007-03-20 16:56 <a href="http://www.cnblogs.com/happyhippy/archive/2007/03/20/681428.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Effective C# 摘录(2) - .NET资源管理 </title><link>http://www.cnblogs.com/happyhippy/archive/2007/03/15/676392.html</link><dc:creator>Silent Void</dc:creator><author>Silent Void</author><pubDate>Thu, 15 Mar 2007 12:04:00 GMT</pubDate><guid>http://www.cnblogs.com/happyhippy/archive/2007/03/15/676392.html</guid><wfw:comment>http://www.cnblogs.com/happyhippy/comments/676392.html</wfw:comment><comments>http://www.cnblogs.com/happyhippy/archive/2007/03/15/676392.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/happyhippy/comments/commentRss/676392.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/happyhippy/services/trackbacks/676392.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: .NET资源管理……&nbsp;&nbsp;<a href='http://www.cnblogs.com/happyhippy/archive/2007/03/15/676392.html'>阅读全文</a><img src ="http://www.cnblogs.com/happyhippy/aggbug/676392.html?type=1" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://happyhippy.cnblogs.com/" target="_blank">Silent Void</a> 2007-03-15 20:04 <a href="http://www.cnblogs.com/happyhippy/archive/2007/03/15/676392.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>ASP.NET性能笔录zz</title><link>http://www.cnblogs.com/happyhippy/archive/2007/03/10/670632.html</link><dc:creator>Silent Void</dc:creator><author>Silent Void</author><pubDate>Sat, 10 Mar 2007 15:14:00 GMT</pubDate><guid>http://www.cnblogs.com/happyhippy/archive/2007/03/10/670632.html</guid><wfw:comment>http://www.cnblogs.com/happyhippy/comments/670632.html</wfw:comment><comments>http://www.cnblogs.com/happyhippy/archive/2007/03/10/670632.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/happyhippy/comments/commentRss/670632.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/happyhippy/services/trackbacks/670632.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 并不是在项目开发完毕后进行性能优化,而是在初步设计的时候考虑的问题&nbsp;&nbsp;<a href='http://www.cnblogs.com/happyhippy/archive/2007/03/10/670632.html'>阅读全文</a><img src ="http://www.cnblogs.com/happyhippy/aggbug/670632.html?type=1" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://happyhippy.cnblogs.com/" target="_blank">Silent Void</a> 2007-03-10 23:14 <a href="http://www.cnblogs.com/happyhippy/archive/2007/03/10/670632.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>String.ToCharArray()方法中的内存优化技巧 </title><link>http://www.cnblogs.com/happyhippy/archive/2006/12/23/601211.html</link><dc:creator>Silent Void</dc:creator><author>Silent Void</author><pubDate>Sat, 23 Dec 2006 03:09:00 GMT</pubDate><guid>http://www.cnblogs.com/happyhippy/archive/2006/12/23/601211.html</guid><wfw:comment>http://www.cnblogs.com/happyhippy/comments/601211.html</wfw:comment><comments>http://www.cnblogs.com/happyhippy/archive/2006/12/23/601211.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/happyhippy/comments/commentRss/601211.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/happyhippy/services/trackbacks/601211.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: String.ToCharArray()方法中的内存优化技巧...... &nbsp;&nbsp;<a href='http://www.cnblogs.com/happyhippy/archive/2006/12/23/601211.html'>阅读全文</a><img src ="http://www.cnblogs.com/happyhippy/aggbug/601211.html?type=1" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://happyhippy.cnblogs.com/" target="_blank">Silent Void</a> 2006-12-23 11:09 <a href="http://www.cnblogs.com/happyhippy/archive/2006/12/23/601211.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Child类调用GrandFather类方法引发的思考</title><link>http://www.cnblogs.com/happyhippy/archive/2006/12/23/601190.html</link><dc:creator>Silent Void</dc:creator><author>Silent Void</author><pubDate>Sat, 23 Dec 2006 02:56:00 GMT</pubDate><guid>http://www.cnblogs.com/happyhippy/archive/2006/12/23/601190.html</guid><wfw:comment>http://www.cnblogs.com/happyhippy/comments/601190.html</wfw:comment><comments>http://www.cnblogs.com/happyhippy/archive/2006/12/23/601190.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/happyhippy/comments/commentRss/601190.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/happyhippy/services/trackbacks/601190.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: （原文发表于CSDN我的Blog:http://blog.csdn.net/happyhippy/archive/2006/10/02/1317830.aspx）昨天在某论坛上看到这个问题，觉得有点意...&nbsp;&nbsp;<a href='http://www.cnblogs.com/happyhippy/archive/2006/12/23/601190.html'>阅读全文</a><img src ="http://www.cnblogs.com/happyhippy/aggbug/601190.html?type=1" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://happyhippy.cnblogs.com/" target="_blank">Silent Void</a> 2006-12-23 10:56 <a href="http://www.cnblogs.com/happyhippy/archive/2006/12/23/601190.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>