IndexByExtension Class

IndexBy extension.

Definition

Namespace: MoreLinq.Extensions
Assembly: MoreLinq (in MoreLinq.dll) Version: 3.4.0+b99a6a8cc504caf2d48372fe54a2f8116c59cd0c
C#
public static class IndexByExtension
Inheritance
Object    IndexByExtension

Methods

IndexByTSource, TKey(IEnumerableTSource, FuncTSource, TKey) Applies a key-generating function to each element of a sequence and returns a sequence that contains the elements of the original sequence as well its key and index inside the group of its key.
IndexByTSource, TKey(IEnumerableTSource, FuncTSource, TKey, IEqualityComparerTKey) Applies a key-generating function to each element of a sequence and returns a sequence that contains the elements of the original sequence as well its key and index inside the group of its key. An additional parameter specifies a comparer to use for testing the equivalence of keys.

See Also