Collection<T, TCollection> .Single Method |
Name | Description | |
---|---|---|
![]() | Single() |
Gets the only value.
Throws an exception if there are
no values or more than one value
in the collection.
|
![]() | Single(Function1<T, Boolean>) |
Gets the only value that matches
the specified predicate.
Throws an exception if there are
no values or more than one value
in the collection.
|