Advanced Basics: The LINQ Enumerable Class

The Enumerable class plays an important role in every LINQ query you create. Because the Enumerable class's extension methods can process many other classes—including Array and List—you can use methods of the Enumerable class not only to create LINQ queries, but also to manipulate the behavior of arrays and other data structures.

In the July 2008 issue of MSDN Magazine, Ken Getz provides examples of the Enumerable class's extension methods, showing off multiple overloaded versions of the members and using various data structures to demonstrate the capabilities.

Don't forget to browse the sample code in our online code library.