Method FindLast
FindLast(Func<T, Boolean>, out T)
Check if there exists an item that satisfies a specific predicate in this collection and return the first one in enumeration order.
Declaration
bool FindLast(Func<T, bool> predicate, out T item)
Parameters
Type | Name | Description |
---|---|---|
Func<T, System.Boolean> | predicate | A delegate (Func<, > with ) defining the predicate
|
T | item |
Returns
Type | Description |
---|---|
System.Boolean | True is such an item exists |