Constructor ElementIndex
ElementIndex(T, int)
Initializes a new instance of the ElementIndex<T> class with the specified value and index information.
public ElementIndex(T value, int index)
Parameters
value
TThe value to be annotated with index information.
index
intThe zero-based index of the element in the sequence.