Chapter 3. LINQ building blocks

This chapter covers:

  • An introduction to the key elements of the LINQ foundation
  • Sequences
  • Deferred query execution
  • Query operators
  • Query expressions
  • Expression trees
  • LINQ DLLs and namespaces

In chapter 2, we reviewed the language additions made to C# and VB.NET: the basic elements and language innovations that make LINQ possible.

In this chapter, you’ll discover new concepts unique to LINQ. Each of these concepts builds on the new language features we presented in chapter 2. You’ll now begin to see how everything adds up when used by LINQ.

We’ll start with a rundown of the language features we’ve already covered. We’ll then present new features that form the key elements of the LINQ foundation. In particular, ...

Get LINQ in Action 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.