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 IndexOf<T>(this IEnumerable<T>, T, IEqualityComparer<T>)Declarationpublic static int IndexOf<T>(
this IEnumerable<T> source,
T element,
IEqualityComparer<T> comparer = null
) Summary
Returns the index of the first element in this source that is equal to the specified element as determined by the specified comparer. If no such elements are found,
returns -1 . Generic type parametersT | This type parameter is not documented. |
|