IEnumerable<T>.Single Method

Returns the only element of a sequence, and throws an exception if there is not exactly one element in the sequence.

Namespace: Spring.Collections
public
 function Single: T; overload;

Return Value

Type: T