IndexExtension Class

Index extension.

Definition

Namespace: MoreLinq.Extensions
Assembly: MoreLinq (in MoreLinq.dll) Version: 4.0.0+092a40d82a1b280568ffa006d9a210bdec0792cd
C#
public static class IndexExtension
Inheritance
Object    IndexExtension

Methods

IndexTSource(IEnumerableTSource) Returns a sequence of KeyValuePairTKey, TValue where the key is the zero-based index of the value in the source sequence.
IndexTSource(IEnumerableTSource, Int32) Returns a sequence of KeyValuePairTKey, TValue where the key is the index of the value in the source sequence. An additional parameter specifies the starting index.

See Also