<?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: C# Empty Enumerator</title>
	<atom:link href="http://www.csharp411.com/c-empty-enumerator/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.csharp411.com/c-empty-enumerator/</link>
	<description>C# Development</description>
	<lastBuildDate>Fri, 03 Feb 2012 11:14:43 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: X</title>
		<link>http://www.csharp411.com/c-empty-enumerator/#comment-699</link>
		<dc:creator>X</dc:creator>
		<pubDate>Mon, 27 Jun 2011 13:56:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.csharp411.com/c-empty-enumerator/#comment-699</guid>
		<description>The example probably works fine in practice, but technically, it is broken.

 clearly states that &#039;Current&#039; must throw an exception after &#039;MoveNext&#039; returned false. I also read that page as if it should throw if called before &#039;MoveNext&#039; were called.

The documentation is unclear as to what exception this should throw.</description>
		<content:encoded><![CDATA[<p>The example probably works fine in practice, but technically, it is broken.</p>
<p> clearly states that &#8216;Current&#8217; must throw an exception after &#8216;MoveNext&#8217; returned false. I also read that page as if it should throw if called before &#8216;MoveNext&#8217; were called.</p>
<p>The documentation is unclear as to what exception this should throw.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: adam</title>
		<link>http://www.csharp411.com/c-empty-enumerator/#comment-698</link>
		<dc:creator>adam</dc:creator>
		<pubDate>Sun, 18 Oct 2009 14:22:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.csharp411.com/c-empty-enumerator/#comment-698</guid>
		<description>This is complete unnecessary. Just initialize your list to an empty list instead of null. kisS. Emphasis on that last S.</description>
		<content:encoded><![CDATA[<p>This is complete unnecessary. Just initialize your list to an empty list instead of null. kisS. Emphasis on that last S.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alwin</title>
		<link>http://www.csharp411.com/c-empty-enumerator/#comment-697</link>
		<dc:creator>alwin</dc:creator>
		<pubDate>Fri, 20 Jun 2008 23:32:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.csharp411.com/c-empty-enumerator/#comment-697</guid>
		<description>timm, you can include the System.Core dll in your own .net 2.0 install, see comment #12 on the page you gave a link for. Then you can build on .net 3.5, but you provide the needed libraries for ppl with only .net 2.0</description>
		<content:encoded><![CDATA[<p>timm, you can include the System.Core dll in your own .net 2.0 install, see comment #12 on the page you gave a link for. Then you can build on .net 3.5, but you provide the needed libraries for ppl with only .net 2.0</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://www.csharp411.com/c-empty-enumerator/#comment-696</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Fri, 20 Jun 2008 08:35:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.csharp411.com/c-empty-enumerator/#comment-696</guid>
		<description>Unless you need to instrument the enumerator, wouldn&#039;t

private static readonly T[] empty = new T[];

and

return empty.GetEnumerator();

be a simpler approach?</description>
		<content:encoded><![CDATA[<p>Unless you need to instrument the enumerator, wouldn&#8217;t</p>
<p>private static readonly T[] empty = new T[];</p>
<p>and</p>
<p>return empty.GetEnumerator();</p>
<p>be a simpler approach?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Weekly Link Post 46 &#171; Rhonda Tipton&#8217;s WebLog</title>
		<link>http://www.csharp411.com/c-empty-enumerator/#comment-695</link>
		<dc:creator>Weekly Link Post 46 &#171; Rhonda Tipton&#8217;s WebLog</dc:creator>
		<pubDate>Sun, 15 Jun 2008 20:48:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.csharp411.com/c-empty-enumerator/#comment-695</guid>
		<description>[...] Timm Martin talks in depth about the C# Empty Enumerator. [...] </description>
		<content:encoded><![CDATA[<p>[...] Timm Martin talks in depth about the C# Empty Enumerator. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon Skeet</title>
		<link>http://www.csharp411.com/c-empty-enumerator/#comment-694</link>
		<dc:creator>Jon Skeet</dc:creator>
		<pubDate>Wed, 11 Jun 2008 16:12:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.csharp411.com/c-empty-enumerator/#comment-694</guid>
		<description>(That should be GetEmptyEnumerator() of course.)

Jon</description>
		<content:encoded><![CDATA[<p>(That should be GetEmptyEnumerator() of course.)</p>
<p>Jon</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon Skeet</title>
		<link>http://www.csharp411.com/c-empty-enumerator/#comment-693</link>
		<dc:creator>Jon Skeet</dc:creator>
		<pubDate>Wed, 11 Jun 2008 16:11:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.csharp411.com/c-empty-enumerator/#comment-693</guid>
		<description>Simpler implementation:

public static IEnumerator GetEmptyEnumerator()
{
    yield break;
}

Oh the joys of iterator blocks :)

Jon</description>
		<content:encoded><![CDATA[<p>Simpler implementation:</p>
<p>public static IEnumerator GetEmptyEnumerator()<br />
{<br />
    yield break;<br />
}</p>
<p>Oh the joys of iterator blocks <img src='http://www.csharp411.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Jon</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dew Drop &#8211; June 11, 2008 &#124; Alvin Ashcraft's Morning Dew</title>
		<link>http://www.csharp411.com/c-empty-enumerator/#comment-692</link>
		<dc:creator>Dew Drop &#8211; June 11, 2008 &#124; Alvin Ashcraft's Morning Dew</dc:creator>
		<pubDate>Wed, 11 Jun 2008 12:35:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.csharp411.com/c-empty-enumerator/#comment-692</guid>
		<description>[...] C# Empty Enumerator (Timm Webb) [...] </description>
		<content:encoded><![CDATA[<p>[...] C# Empty Enumerator (Timm Webb) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wilburysa</title>
		<link>http://www.csharp411.com/c-empty-enumerator/#comment-691</link>
		<dc:creator>Wilburysa</dc:creator>
		<pubDate>Wed, 11 Jun 2008 08:11:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.csharp411.com/c-empty-enumerator/#comment-691</guid>
		<description>The Good Theme Site

What a great forum this and www.devtopics.com and excellent resource you have.</description>
		<content:encoded><![CDATA[<p>The Good Theme Site</p>
<p>What a great forum this and <a href="http://www.devtopics.com" rel="nofollow">http://www.devtopics.com</a> and excellent resource you have.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: timm</title>
		<link>http://www.csharp411.com/c-empty-enumerator/#comment-690</link>
		<dc:creator>timm</dc:creator>
		<pubDate>Wed, 11 Jun 2008 00:32:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.csharp411.com/c-empty-enumerator/#comment-690</guid>
		<description>Because Enumerable.Empty&lt;T&gt;() is only available in System.Linq in .NET 3.5.  Unfortunately, desktop commercial vendors such as myself are stuck with .NET 2.0 for the forseeable future.  Here&#039;s why:

http://www.devtopics.com/fat-net/</description>
		<content:encoded><![CDATA[<p>Because Enumerable.Empty<t>() is only available in System.Linq in .NET 3.5.  Unfortunately, desktop commercial vendors such as myself are stuck with .NET 2.0 for the forseeable future.  Here&#8217;s why:</p>
<p><a href="http://www.devtopics.com/fat-net/" rel="nofollow">http://www.devtopics.com/fat-net/</a></t></p>
]]></content:encoded>
	</item>
</channel>
</rss>

