CollectionT, TCollectionSingleOrDefault Method |
Name | Description | |
---|---|---|
SingleOrDefault |
Gets the only value.
Returns a default value if there are
no values or more than one value
in the collection.
| |
SingleOrDefault(Function1T, Boolean) |
Gets the only value that matches
the specified predicate.
Returns a default value if there are
no values or more than one value
in the collection.
|