O'Reilly logo

Pro LINQ: Language Integrated Query in C# 2008 by Joseph C. Rattz Jr.

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

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

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