Deferred Operators

In the previous chapter, I covered what sequences are, the data type that represents them, and the impact of deferred query execution. Because of the importance of deferred query operator awareness, I have separated deferred and nondeferred operators into separate chapters to highlight whether a Standard Query Operator's action is deferred or not.

In this chapter, I will be covering the deferred query operators. A deferred operator is easy to spot because it has a return type of IEnumerable<T> or IOrderedEnumerable<T>. Each of these deferred operators will be categorized by its purpose.

In order to code and execute the examples in this chapter, you will need to make sure you have using directives for all the necessary namespaces, ...

Get Pro LINQ: Language Integrated Query in C# 2008 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.