You are previewing LINQ in Action.

LINQ in Action

Cover of LINQ in Action by Fabrice Marguerie... Published by Manning Publications
O'Reilly logo

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, ...

The best content for your career. Discover unlimited learning on demand for around $1/day.