Collection<T, TCollection>.LastOrDefault Method |
Name | Description | |
---|---|---|
![]() | LastOrDefault() |
Gets the last value.
Returns a default value if there are
no values in the collection.
|
![]() | LastOrDefault(Function1<T, Boolean>) |
Gets the last value that matches
the specified predicate.
Returns a default value if there are
no such values in the collection.
|