SingleOrDefaultExtension Methods |
The SingleOrDefaultExtension type exposes the following members.
Name | Description | |
---|---|---|
SingleOrDefaultT |
Returns the only element of a sequence, or a default value if the
sequence is empty; this method throws an exception if there is more
than one element in the sequence.
|