[]
This method extends the LINQ methods to add index for each item
public static IEnumerable<OrderedItem<T>> AsIndexed<T>(this IEnumerable<T> items)
Type | Name | Description |
---|---|---|
IEnumerable<T> | items | Initial sequence. |
Type | Description |
---|---|
IEnumerable<OrderedItem<T>> | Returns IEnumerable<T> that represents sequence with indeses for items |
Name | Description |
---|---|
T | Item type |