O'Reilly logo

LINQ in Action by Jim Wooley, Steve Eichert, Fabrice Marguerie

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

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

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