CollectionT, TCollectionFirstOrDefault Method |
Name | Description | |
---|---|---|
![]() | FirstOrDefault |
Gets the first value.
Returns a default value if there are
no values in the collection.
|
![]() | FirstOrDefault(Function1T, Boolean) |
Gets the first value that matches
the specified predicate.
Returns a default value if there are
no such values in the collection.
|