Chapter 3. Linq to Objects

Modern programming languages and software development architectures are based increasingly on object-oriented design and development. As a result, you often need to query and manage objects and collections rather than records and data tables. You also need tools and languages that work independently of specific data sources or persistence layers. LINQ to Objects is the main implementation of Microsoft Language Integrated Query (LINQ). You can use it to query in-memory collections of objects, entities, and items.

This chapter describes the main classes and operators on which LINQ is based, so you will understand its architecture and become familiar with its syntax. The examples in this chapter use LINQ to Objects so that ...

Get Programming Microsoft® LINQ in Microsoft .NET Framework 4 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.