O'Reilly logo

C# in Depth, Third Edition: Foreword by Eric Lippert by Jon Skeet

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 11. Query expressions and LINQ to Objects

This chapter covers

  • Streaming sequences of data and deferred execution
  • Standard query operators and query expression translation
  • Range variables and transparent identifiers
  • Projecting, filtering, and sorting
  • Joining and grouping
  • Choosing which syntax to use

You may be tired of all the hyperbole around LINQ by now. You’ve already seen some examples in the book, and you’ve almost certainly read a lot about it on the web. This is where we separate myth from reality:

  • LINQ doesn’t turn the most complicated query into a one-liner.
  • LINQ doesn’t mean you never need to look at raw SQL again.
  • LINQ doesn’t magically imbue you with architectural genius.

Given all that, LINQ is still the best ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required