Chapter 5. Standard Query Operators
Goals of this chapter:
• Introduce the standard query operators not covered so far.
• Show examples for each operator to help in real world application.
Up to this point, we have explored the main operators that filter, project, order, group, and join. This chapter introduces the remaining operators and demonstrates how they are used. By the end of this chapter (and Chapter 6, “Working with Set Data,” which details the set-based operators), you will have seen all of the standard query operators.
The Built-In Operators
Microsoft .NET Framework 4 has 52 built-in standard query operators. These operators are in the System.Linq
namespace and are made available in each class file by adding the following using ...
Get LINQ to Objects Using C# 4.0 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.