Introducing LINQ to Objects

The previous chapter provided an overview of the LINQ technology, and you learned that it provides a unified programming model for querying various types of data sources using the same syntax constructs. You got a few examples of LINQ syntax, but now you’ll get to see LINQ in action in different scenarios and 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 considered as the root of LINQ providers, and it’s important to understand how it works because the ...

Get Visual Basic 2015 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.