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 an indexed Select
clause to determine if the value of ints in an array match their position in the array.
This sample combines select
and where
to make a simple query that returns the text form of each digit less than 5.
Next: Projections from multiple inputs » Previous: Projects to new types «