Table of Contents

Class EnumerableExtensions

Namespace
Alternet.Common
Assembly
Alternet.Common.v9.dll

Contains extended functionality for enumerable objects.

public static class EnumerableExtensions
Inheritance
EnumerableExtensions

Methods

Concat<T>(IEnumerable<T>, IEnumerable<T>)

Concatenates two sequences.

GetItemsHashCode<T>(IEnumerable<T>)

Serves as the default hash function for the items in the sequence.

GetItemsHashCode<T>(IEnumerable<T>, Func<T, int>)

Serves as the default hash function for the items in the sequence.

IndexOfFirst<T>(IEnumerable<T>, Func<T, bool>)

Finds the index of the first item matching an expression in an enumerable.

IndexOf<T>(IEnumerable<T>, T)

Finds the index of the first occurrence of an item in an enumerable.

MaxElement<T, TKey>(IEnumerable<T>, Func<T, TKey>)

Finds out element with maximum value in the container.