<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Generic List enumerator order [Vance Morrison]</title><link>http://blogs.msdn.com/b/bclteam/archive/2006/05/17/596655.aspx</link><description>“Is the order returned by the List&amp;lt;T&amp;gt; enumerator guaranteed to be the same as looping through with a for loop?” 
 Since foreach is actually defined in terms of looping over the ‘MoveNext’ operation of the enumerator, foreach is guaranteed to be</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Generic List enumerator order [Vance Morrison]</title><link>http://blogs.msdn.com/b/bclteam/archive/2006/05/17/596655.aspx#600919</link><pubDate>Thu, 18 May 2006 15:52:11 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:600919</guid><dc:creator>Dave R.</dc:creator><description>I'm thinking that should read, &amp;quot;The list is logically an array and you are traversing it from 0 to Count-1&amp;quot;. Those off-by-one errors are nasty!&lt;br&gt;&lt;br&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=600919" width="1" height="1"&gt;</description></item></channel></rss>