Grouping.select Method
Projects each element of a sequence into a new form. The element's index is provided
for the transformation.
Parameters
- selector
-
Type: Function
A transform function to apply to each source element; the second parameter of the function represents the index of the source element.
Return Value
Type: IEnumerable
An enumerable whose elements are the result of invoking the transform function on each element of source.