Query Expression Syntax

In our example-driven exploration of LINQ, we’ve seen many query expressions. Now the time has come to take a closer look at the “syntactical surface area” for writing query expressions, as introduced in C# 3.0. During our discussion of query expressions throughout this section, we’ll see examples for the various query constructs available. But first let’s explain the role query expressions play in the bigger picture of LINQ.

Get C# 5.0 Unleashed now with O’Reilly online learning.

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