The select
clause of a LINQ query projects the output sequence. It transforms each input element into the shape of the output sequence
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
.
This sample uses a compound from
clause to select all orders where the order total is less than 500.00.
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 «