Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

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

Declaration

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

Summary

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

Generic type parameters

TThis type parameter is not documented.