Chapter 14. An Introduction to LINQ

The previous chapter introduced you to numerous C# 2008 programming constructs. As you have seen, features such as implicitly typed local variables, anonymous types, object initialization syntax, and lambda expressions (examined in Chapter 11) allow us to build very functional C# code. Recall that while many of these features can be used directly as is, their benefits are much more apparent when used within the context of the Language Integrated Query (LINQ) technology set.

This chapter will introduce you to the LINQ model and its role in the .NET platform. Here, you will come to learn the role of query operators and query expressions, which allow you to define statements that will interrogate a data source to ...

Get Pro C# 2008 and the .NET 3.5 Platform, Fourth Edition now with O’Reilly online learning.

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