O'Reilly logo

C# 5.0 Unleashed by Bart De Smet

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

The Query Pattern

Now that you’ve seen the various standard query operators that come with LINQ and their query expression counterparts (with varying mileage in C# and Visual Basic), we can make a few more remarks about the query pattern.

The C# language specification refers to the concrete implementation of the querying operators that can be targeted by a query expression as the query pattern. Concretely, it means that any set of objects that happens to have (some) operators such as SelectMany, Where, Select, OrderBy, and so on can be addressed by using the query expression syntax.

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