Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Extension method: int IndexOf<T>(this IEnumerable<T>, Func<T, int, bool>)

Declaration

public static int IndexOf<T>(
    this IEnumerable<T> source,
    Func<T, int, bool> predicate
)

Summary

Returns the index of the first element in this source satisfying the specified predicate. The second parameter receives the index of each element. If no such elements are found, returns -1.

Generic type parameters

TThis type parameter is not documented.