<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: String.IsNullOrEmpty Shootout</title>
	<atom:link href="http://www.csharp411.com/stringisnullorempty-shootout/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.csharp411.com/stringisnullorempty-shootout/</link>
	<description>C# Information, Code, Tips and News</description>
	<lastBuildDate>Sat, 24 Jul 2010 01:26:51 -0400</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Chris</title>
		<link>http://www.csharp411.com/stringisnullorempty-shootout/comment-page-1/#comment-5285</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Wed, 23 Sep 2009 22:18:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.mini-tools.com/at2/csharp/wordpress/stringisnullorempty-shootout/#comment-5285</guid>
		<description>When compiling in release mode, the IsNullOrEmpty method is expanded inline, so the function call disappears and the gain no longer exists.</description>
		<content:encoded><![CDATA[<p>When compiling in release mode, the IsNullOrEmpty method is expanded inline, so the function call disappears and the gain no longer exists.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: string = &#34;&#34; or = string.Empty? &#124; keyongtech</title>
		<link>http://www.csharp411.com/stringisnullorempty-shootout/comment-page-1/#comment-4128</link>
		<dc:creator>string = &#34;&#34; or = string.Empty? &#124; keyongtech</dc:creator>
		<pubDate>Sun, 18 Jan 2009 17:15:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.mini-tools.com/at2/csharp/wordpress/stringisnullorempty-shootout/#comment-4128</guid>
		<description>[...] string = &quot;&quot; or = string.Empty?     A short note on efficiency can be found here.  http://www.csharp411.com/stringisnullorempty-shootout/   &quot;Sami&quot; wrote:  &gt; string = &quot;&quot; or string = string.Empty? &gt; should is the [...]</description>
		<content:encoded><![CDATA[<p>[...] string = &quot;&quot; or = string.Empty?     A short note on efficiency can be found here.  <a href="http://www.csharp411.com/stringisnullorempty-shootout/" rel="nofollow">http://www.csharp411.com/stringisnullorempty-shootout/</a>   &quot;Sami&quot; wrote:  &gt; string = &quot;&quot; or string = string.Empty? &gt; should is the [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: OmegaMan</title>
		<link>http://www.csharp411.com/stringisnullorempty-shootout/comment-page-1/#comment-2443</link>
		<dc:creator>OmegaMan</dc:creator>
		<pubDate>Thu, 31 Jul 2008 18:26:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.mini-tools.com/at2/csharp/wordpress/stringisnullorempty-shootout/#comment-2443</guid>
		<description>Suggestion...edo your test using the &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/system.diagnostics.stopwatch.aspx&quot; rel=&quot;nofollow&quot;&gt;Stopwatch Class&lt;/a&gt; instead of datetime.</description>
		<content:encoded><![CDATA[<p>Suggestion&#8230;edo your test using the <a href="http://msdn.microsoft.com/en-us/library/system.diagnostics.stopwatch.aspx" rel="nofollow">Stopwatch Class</a> instead of datetime.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob</title>
		<link>http://www.csharp411.com/stringisnullorempty-shootout/comment-page-1/#comment-96</link>
		<dc:creator>Rob</dc:creator>
		<pubDate>Mon, 25 Feb 2008 03:42:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.mini-tools.com/at2/csharp/wordpress/stringisnullorempty-shootout/#comment-96</guid>
		<description>Errr...if you use the shiny new .NET symbols and debug into the framework from VS.NET 2008 you will see that in String.cs IsNullOrEmpty is really just:

public static bool IsNullOrEmpty(string value)
{
   return (value == null &#124;&#124; value.Length == 0);
}

So the small additional cost is really pushing and poping the stack etc.</description>
		<content:encoded><![CDATA[<p>Errr&#8230;if you use the shiny new .NET symbols and debug into the framework from VS.NET 2008 you will see that in String.cs IsNullOrEmpty is really just:</p>
<p>public static bool IsNullOrEmpty(string value)<br />
{<br />
   return (value == null || value.Length == 0);<br />
}</p>
<p>So the small additional cost is really pushing and poping the stack etc.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
