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