Click or drag to resize

Collection<T, TCollection> .Single Method

Overload List
  NameDescription
Public methodSingle()
Gets the only value. Throws an exception if there are no values or more than one value in the collection.
Public methodSingle(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.
Top
See Also