<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://msmvps.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>LINQ Gotcha</title><link>http://msmvps.com/blogs/williamryan/archive/2008/05/07/linq-gotcha.aspx</link><description>After a long hiatus, I was trying to figure out something cool or at least interesting to blog about. I was having trouble figuring out what I wanted to write, but then one after another, I got a ton of ideas. One thing I wanted to do for my current project</description><dc:language>en</dc:language><generator>CommunityServer 2008.5 SP2 (Build: 40407.4157)</generator><item><title>re: LINQ Gotcha</title><link>http://msmvps.com/blogs/williamryan/archive/2008/05/07/linq-gotcha.aspx#1618394</link><pubDate>Fri, 09 May 2008 18:36:57 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1618394</guid><dc:creator>William</dc:creator><description>&lt;p&gt;Hi JB:&lt;/p&gt;
&lt;p&gt;Indeed it will. &amp;nbsp;Semantically, both approaches involve an explicit cast b/c since it's the non-generic implementation of IEnumerable that's implemented, the behavior is differen than what you'd expect.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1618394" width="1" height="1"&gt;</description></item><item><title>re: LINQ Gotcha</title><link>http://msmvps.com/blogs/williamryan/archive/2008/05/07/linq-gotcha.aspx#1617549</link><pubDate>Thu, 08 May 2008 16:35:22 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1617549</guid><dc:creator>Jb Evain</dc:creator><description>&lt;p&gt;You can write:&lt;/p&gt;
&lt;p&gt;from ConnectionStringSettings cs in cfg&lt;/p&gt;
&lt;p&gt;select cs;&lt;/p&gt;
&lt;p&gt;And csc will automatically call Cast&amp;lt;ConnectionStringSettings&amp;gt; on cfg.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1617549" width="1" height="1"&gt;</description></item><item><title>Interesting Finds: May 8, 2008</title><link>http://msmvps.com/blogs/williamryan/archive/2008/05/07/linq-gotcha.aspx#1617460</link><pubDate>Thu, 08 May 2008 14:13:11 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1617460</guid><dc:creator>Jason Haley</dc:creator><description>&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1617460" width="1" height="1"&gt;</description></item></channel></rss>