Chapter 6. Introduction to LINQ

Language Integrated Query (LINQ), which was discussed briefly in Chapter 1, is a unified model for accessing data in a declarative and object-oriented manner. This chapter covers LINQ more fully. Why the additional attention? The reason is that LINQ is the distinguishing new feature of Microsoft Visual Studio C# 2008. C# 3.0 has been extended in several ways to accommodate LINQ. Language extensions such as extension methods, lambda expressions, expression trees, anonymous types, and object initializers provide support for LINQ. Of course, many of these extensions are useful as standalone features. For example, extension methods now are employed in several places in the .NET Framework Class Library (FCL) apart from ...

Get Programming Microsoft® Visual C#® 2008: The Language now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.