Method FindLastIndex
FindLastIndex(Func<T, Boolean>)
Check if there exists an item that satisfies a specific predicate in this collection and return the index of the last one.
Declaration
public int FindLastIndex(Func<T, bool> predicate)
Parameters
Type | Name | Description |
---|---|---|
Func<T, System.Boolean> | predicate | A delegate defining the predicate |
Returns
Type | Description |
---|---|
System.Int32 | the index, if found, a negative value else |