<?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>How to use LINQ extension methods on non generic IEnumerable?</title><link>http://msmvps.com/blogs/matthieu/archive/2009/04/01/how-to-use-linq-extension-methods-on-non-generic-ienumerable.aspx</link><description>LINQ extension methods are great but... it&amp;#39;s not so cool when we use non generic collections as it is often the case with Sharepoint or TFS APIs. Likely, we have two LINQ extension methods Cast and OfType which allow us to transform our non generic</description><dc:language>en</dc:language><generator>CommunityServer 2008.5 SP2 (Build: 40407.4157)</generator><item><title>re: How to use LINQ extension methods on non generic IEnumerable?</title><link>http://msmvps.com/blogs/matthieu/archive/2009/04/01/how-to-use-linq-extension-methods-on-non-generic-ienumerable.aspx#1742733</link><pubDate>Sat, 28 Nov 2009 14:50:33 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1742733</guid><dc:creator>Tux</dc:creator><description>&lt;p&gt;Very, very nice! :)&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1742733" width="1" height="1"&gt;</description></item><item><title>re: How to use LINQ extension methods on non generic IEnumerable?</title><link>http://msmvps.com/blogs/matthieu/archive/2009/04/01/how-to-use-linq-extension-methods-on-non-generic-ienumerable.aspx#1738395</link><pubDate>Sun, 08 Nov 2009 15:02:22 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1738395</guid><dc:creator>Matthieu MEZIL</dc:creator><description>&lt;p&gt;I did it for a colleague who works with Sharepoint and who were very happy with this.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1738395" width="1" height="1"&gt;</description></item><item><title>re: How to use LINQ extension methods on non generic IEnumerable?</title><link>http://msmvps.com/blogs/matthieu/archive/2009/04/01/how-to-use-linq-extension-methods-on-non-generic-ienumerable.aspx#1736682</link><pubDate>Sun, 01 Nov 2009 01:10:43 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1736682</guid><dc:creator>Smartass</dc:creator><description>&lt;p&gt;You just put in a ton of effort to get rid of 4 characters per invocation. &amp;nbsp;Usually lazy is good, but that doesn&amp;#39;t seem like the smart kind of lazy. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;It&amp;#39;ll probably take you years of writing .Cast&amp;lt;T&amp;gt;.LINQ() before you catch up to the amount of effort you just put into this.&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t know how many places in your code use non-generics, but it seems like the best thing to do would have been to wrap those references to non-generics with something that&amp;#39;ll do the .Cast&amp;lt;T&amp;gt; for you. &amp;nbsp;Then it&amp;#39;d work for anything outside LINQ too.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1736682" width="1" height="1"&gt;</description></item><item><title>re: How to use LINQ extension methods on non generic IEnumerable?</title><link>http://msmvps.com/blogs/matthieu/archive/2009/04/01/how-to-use-linq-extension-methods-on-non-generic-ienumerable.aspx#1720046</link><pubDate>Wed, 02 Sep 2009 07:57:48 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1720046</guid><dc:creator>Matt</dc:creator><description>&lt;p&gt;Nice :-)&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1720046" width="1" height="1"&gt;</description></item></channel></rss>