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.
Returns the only element of a sequence, and throws an exception if there is not exactly one element in the sequence.