Appendix. The standard query operators

Filtering

Operator name

Description

OfType Selects values, depending on their ability to be cast to a specified type.
Where Selects values, depending on a predicate function.

Projection

Operator name

Description

Select Selects values, depending on a selector function.
SelectMany Selects values, depending on a selector function, and combines resulting sequences into one sequence. SelectMany performs a one-to-many element projection over a sequence. It differs from Select in that the selector function is expected to return a sequence that is then expanded.

Partitioning

Operator name

Description

Skip Skips n elements from a sequence.
SkipWhile Skips elements based on a predicate function until ...

Get LINQ in Action 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.