Projecting Indexes with LINQ

added by BlackWasp
5/24/2011 4:53:44 PM

183 Views

All sequences have a notional order that can be expressed using index values in a similar manner to the indexes of an array. When projecting sequences using LINQ's Select and SelectMany operators, this index value can be included in the projection.


0 comments