﻿<?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>博客园-gccr的专栏-最新评论</title><link>http://www.cnblogs.com/gccr/CommentsRSS.aspx</link><description>尽量保证我提供的代码是可用的！</description><language>zh-cn</language><pubDate>Fri, 02 Dec 2005 12:56:27 GMT</pubDate><lastBuildDate>Fri, 02 Dec 2005 12:56:27 GMT</lastBuildDate><generator>cnblogs</generator><item><title>re: 实在不想离开C#</title><link>http://www.cnblogs.com/gccr/archive/2007/11/28/289504.html#975783</link><dc:creator>qrh</dc:creator><author>qrh</author><pubDate>Wed, 28 Nov 2007 08:16:00 GMT</pubDate><guid>http://www.cnblogs.com/gccr/archive/2007/11/28/289504.html#975783</guid><description><![CDATA[楼主 紫光面试会问些什么啊 ？我笔试通过了 这周五去面试<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/gccr/" target="_blank">qrh</a> 2007-11-28 16:16 <a href="http://www.cnblogs.com/gccr/archive/2007/11/28/289504.html#975783#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 实在不想离开C#</title><link>http://www.cnblogs.com/gccr/archive/2007/04/09/289504.html#705639</link><dc:creator>eyuyr</dc:creator><author>eyuyr</author><pubDate>Mon, 09 Apr 2007 05:54:00 GMT</pubDate><guid>http://www.cnblogs.com/gccr/archive/2007/04/09/289504.html#705639</guid><description><![CDATA[后天就要去紫光华宇面试了，好紧张，也不知道面试能pass吗？<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/gccr/" target="_blank">eyuyr</a> 2007-04-09 13:54 <a href="http://www.cnblogs.com/gccr/archive/2007/04/09/289504.html#705639#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 实在不想离开C#</title><link>http://www.cnblogs.com/gccr/archive/2007/03/06/289504.html#666021</link><dc:creator>perfect</dc:creator><author>perfect</author><pubDate>Tue, 06 Mar 2007 13:07:00 GMT</pubDate><guid>http://www.cnblogs.com/gccr/archive/2007/03/06/289504.html#666021</guid><description><![CDATA[你们都是前辈都是过来人啊,我还不知道笔试是做些什么呢?<br>明天才去参加笔试.真有点担心.<br>希望我也是个幸运儿!!<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/gccr/" target="_blank">perfect</a> 2007-03-06 21:07 <a href="http://www.cnblogs.com/gccr/archive/2007/03/06/289504.html#666021#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 实在不想离开C#</title><link>http://www.cnblogs.com/gccr/archive/2006/12/15/289504.html#593756</link><dc:creator>mihua</dc:creator><author>mihua</author><pubDate>Fri, 15 Dec 2006 12:51:00 GMT</pubDate><guid>http://www.cnblogs.com/gccr/archive/2006/12/15/289504.html#593756</guid><description><![CDATA[看了你的文章，想 哭，紫光华宇笔试过了，可面试没有，<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/gccr/" target="_blank">mihua</a> 2006-12-15 20:51 <a href="http://www.cnblogs.com/gccr/archive/2006/12/15/289504.html#593756#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 最近真郁闷!!</title><link>http://www.cnblogs.com/gccr/archive/2004/03/27/4082.html#4377</link><dc:creator>王答</dc:creator><author>王答</author><pubDate>Sat, 27 Mar 2004 08:02:00 GMT</pubDate><guid>http://www.cnblogs.com/gccr/archive/2004/03/27/4082.html#4377</guid><description><![CDATA[可不就这个样吗？都烦死了。<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/gccr/" target="_blank">王答</a> 2004-03-27 16:02 <a href="http://www.cnblogs.com/gccr/archive/2004/03/27/4082.html#4377#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 最近真郁闷!!</title><link>http://www.cnblogs.com/gccr/archive/2004/03/25/4082.html#4148</link><dc:creator>Meyer</dc:creator><author>Meyer</author><pubDate>Thu, 25 Mar 2004 05:49:00 GMT</pubDate><guid>http://www.cnblogs.com/gccr/archive/2004/03/25/4082.html#4148</guid><description><![CDATA[怎么还跟初中一样?<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/gccr/" target="_blank">Meyer</a> 2004-03-25 13:49 <a href="http://www.cnblogs.com/gccr/archive/2004/03/25/4082.html#4148#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: Effective C#-Working with Strings</title><link>http://www.cnblogs.com/gccr/archive/2004/03/24/3820.html#4075</link><dc:creator>王答</dc:creator><author>王答</author><pubDate>Wed, 24 Mar 2004 10:30:00 GMT</pubDate><guid>http://www.cnblogs.com/gccr/archive/2004/03/24/3820.html#4075</guid><description><![CDATA[多谢birdshome指点!!<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/gccr/" target="_blank">王答</a> 2004-03-24 18:30 <a href="http://www.cnblogs.com/gccr/archive/2004/03/24/3820.html#4075#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: Effective C#-Working with Strings</title><link>http://www.cnblogs.com/gccr/archive/2004/03/23/3820.html#3997</link><dc:creator>birdshome</dc:creator><author>birdshome</author><pubDate>Tue, 23 Mar 2004 14:45:00 GMT</pubDate><guid>http://www.cnblogs.com/gccr/archive/2004/03/23/3820.html#3997</guid><description><![CDATA[第一条为了适应更多情况应该这样写：<br><br>string str;<br><br>...<br><br>if ( str != null &amp;&amp; str.Length &gt; 0 )<br>{<br>    ...<br>}<br>// 顺序很重要，反了就ft了。<br><br>第二条不是那儿都需要，毕竟<br><br>StringBuilder strb = new StringBuilder();<br>strb.Append(&quot;string a&quot;);<br>strb.Append(&quot;string b&quot;);<br>string strNew = strb.ToString();<br><br>比 string strNew = &quot;string a&quot; + &quot;string b&quot;;<br><br>麻烦太多了，使用 StringBuilder 主要是在循环里面，<br><br>就是说要反复的生成很多的 string 的时候，我们才使用<br><br>StringBuilder。还有就是字符串很长的时候，比如 string 都好几百K了，<br><br>就是就是很少的 + op，也很消耗资源。<br><br>第三条不需要，在 CLI 里，== 运算就是用 Equals 实现的，<br><br>public static bool operator == (String a, String b)<br>{<br>    return String.Equals(a, b);<br>}<br><br><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/gccr/" target="_blank">birdshome</a> 2004-03-23 22:45 <a href="http://www.cnblogs.com/gccr/archive/2004/03/23/3820.html#3997#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: Effective C#-Working with Strings</title><link>http://www.cnblogs.com/gccr/archive/2004/03/22/3820.html#3877</link><dc:creator>王答</dc:creator><author>王答</author><pubDate>Mon, 22 Mar 2004 07:55:00 GMT</pubDate><guid>http://www.cnblogs.com/gccr/archive/2004/03/22/3820.html#3877</guid><description><![CDATA[谢谢Meyer指教，我就喜欢指出我不会的东东。<br><br>to:mice90<br>这不是一本书的一个章节，是我从CSDN上看到的，觉得挺好，就给译了过来，放到这里啦。<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/gccr/" target="_blank">王答</a> 2004-03-22 15:55 <a href="http://www.cnblogs.com/gccr/archive/2004/03/22/3820.html#3877#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: Effective C#-Working with Strings</title><link>http://www.cnblogs.com/gccr/archive/2004/03/22/3820.html#3868</link><dc:creator>nice90</dc:creator><author>nice90</author><pubDate>Mon, 22 Mar 2004 06:30:00 GMT</pubDate><guid>http://www.cnblogs.com/gccr/archive/2004/03/22/3820.html#3868</guid><description><![CDATA[请问一下你的&lt;Effective C#&gt;书在哪儿有呢？谢谢！<br>mail to :nice90 at 163 dot com<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/gccr/" target="_blank">nice90</a> 2004-03-22 14:30 <a href="http://www.cnblogs.com/gccr/archive/2004/03/22/3820.html#3868#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: Effective C#-Working with Strings</title><link>http://www.cnblogs.com/gccr/archive/2004/03/22/3820.html#3842</link><dc:creator>Meyer</dc:creator><author>Meyer</author><pubDate>Mon, 22 Mar 2004 00:53:00 GMT</pubDate><guid>http://www.cnblogs.com/gccr/archive/2004/03/22/3820.html#3842</guid><description><![CDATA[string的空有两种情况<br>null &amp; string.Empty<br>对于第二种，str1.Length&gt;0 已经足够<br>对于第一种 str1.Length&gt;0 肯定会引发 <br>NullReferenceException<br>如果不能确信还是使用<br>(str != null &amp;&amp; str.Length != 0)<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/gccr/" target="_blank">Meyer</a> 2004-03-22 08:53 <a href="http://www.cnblogs.com/gccr/archive/2004/03/22/3820.html#3842#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 总想Blog一把，今天上网，遇到注册一个了。</title><link>http://www.cnblogs.com/gccr/archive/2004/02/05/411.html#905</link><dc:creator>cowboy(chenzizhao＠hotmail.com)</dc:creator><author>cowboy(chenzizhao＠hotmail.com)</author><pubDate>Thu, 05 Feb 2004 05:56:00 GMT</pubDate><guid>http://www.cnblogs.com/gccr/archive/2004/02/05/411.html#905</guid><description><![CDATA[希望你有精彩内容show出来。<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/gccr/" target="_blank">cowboy(chenzizhao＠hotmail.com)</a> 2004-02-05 13:56 <a href="http://www.cnblogs.com/gccr/archive/2004/02/05/411.html#905#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>
