Querying non-generic collections with LINQ to Objects
Posted by: Fabrice's weblog,
on 15 Sep 2007 |
View original | Bookmarked: 0 time(s)
We will soon publish excerpts of the LINQ in Action book.
One of them will probably show you how to query non-generic
collections. Before it becomes available, let me show you an overview
of what it presents.
When you read and hear about LINQ, you almost always see queries
that work on the generic collections provided by the .NET Framework. In
fact, you can use LINQ to Objects with any type that implements IEnumerable<T>. This means that LINQ to Objects will work with your own generic collection...