The Deferred Operators by Purpose
The deferred Standard Query Operators are organized by their purpose in this section.
Restriction operators are used for including or excluding elements of an input sequence.
The Where operator is used to filter elements into a sequence.
The Where operator has two prototypes I will cover.
Example. The First Where Prototype
public static IEnumerable<T> Where<T>( this IEnumerable<T> source, Func<T, bool> predicate);
This prototype of Where takes an input source sequence and a predicate method delegate and returns an object that, when enumerated, enumerates through the input source sequence yielding elements for which the predicate method delegate returns true.
Because this is an ...