Skip to content

Latest commit

 

History

History
21 lines (12 loc) · 874 Bytes

projections-3.md

File metadata and controls

21 lines (12 loc) · 874 Bytes

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 with index of item

This sample uses an indexed Select clause to determine if the value of ints in an array match their position in the array.

Select combined with where

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 «

Home