Does LINQ work with IEnumerable? <p>I have a class that implements <code>IEnumerable</code>, but doesn't implement <code>IEnumerable&lt;T&gt;</code>. I can't change this class, and I can't use another class instead of it. As I've understood from MSDN <a href="http://msdn.microsoft.com/en-us/library/bb308959.aspx#linqoverview_topic3">LINQ can be used if class implements <code>IEnumerable&lt;T&gt;</code></a>. I've tried using <code>instance.ToQueryable()</code>, but it still doesn't enable LINQ methods. I know for sure that this class can contain instances of only one type, so the class could implement <code>IEnumerable&lt;T&gt;</code>, but it just doesn't. So what can I do to query this class using LINQ expressions?</p>