IndexOf<>(source, predicate, startIndex) IndexOf<>(source, element, comparer) JoinString<>(values, separator, prefix, suffix, lastSeparator) Order<>(source, comparer) SkipLast<>(source, count, throwIfNotEnough) Split<>(splitWhat, splitWhere) Split<>(source, chunkSize) ToDictionary2<>(source, key1Selector, key2Selector, comparer1, comparer2) ToDictionary2<>(source, key1Selector, key2Selector, elementSelector, comparer1, comparer2)
Legend Class Struct Enum Interface Delegate | Constructor Method Property Event Field |
| Extension method: int MaxIndex<T, TValue>(this IEnumerable<T>, Func<T, TValue>)Declarationpublic static int MaxIndex<T, TValue>(
this IEnumerable<T> source,
Func<T, TValue> valueSelector
) Summary
Returns the index of the first element from the input sequence for which the value selector returns the
largest value. Generic type parametersT | This type parameter is not documented. | TValue | This type parameter is not documented. |
Exceptions- System.InvalidOperationException
The input collection is empty.
|