Introducing LINQ to Objects

In the previous chapter I provided an overview of the LINQ technology and told you that it provides a unified programming model for querying different types of data sources using generally the same syntax constructs. You got a few examples of LINQ syntax, but from now on you see LINQ in action in different scenarios, therefore with more examples. This chapter is about LINQ to Objects, which is the standard provider for querying in-memory objects. This definition considers collections, arrays, and any other object that implements the IEnumerable or IEnumerable(Of T) interface (or interfaces deriving from them). LINQ to Objects can be basically considered as the root of LINQ providers, and it’s important to understand ...

Get Visual Basic® 2010 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.