Skip to content

Latest commit

 

History

History
29 lines (16 loc) · 1.18 KB

projections-4.md

File metadata and controls

29 lines (16 loc) · 1.18 KB

LINQ - Projection Operators

The select clause of a LINQ query projects the output sequence. It transforms each input element into the shape of the output sequence

Select from multiple input sequences

This sample uses a compound from clause to make a query that returns all pairs of numbers from both arrays such that the number from numbersA is less than the number from numbersB.

Select from related input sequences

This sample uses a compound from clause to select all orders where the order total is less than 500.00.

Compound select with where clause

This sample uses a compound from clause to select all orders where the order was made in 1998 or later.

Next: Compound projections » Previous: Restrictions with index and where «

Home