Click or drag to resize

ExperimentalEnumerableTrySingle Method

Overload List
  NameDescription
Public methodStatic memberTrySingleT, TCardinality(IEnumerableT, TCardinality, TCardinality, TCardinality)
Returns a tuple with the cardinality of the sequence and the single element in the sequence if it contains exactly one element. similar to SingleTSource(IEnumerableTSource).
Public methodStatic memberTrySingleT, TCardinality, TResult(IEnumerableT, TCardinality, TCardinality, TCardinality, FuncTCardinality, T, TResult)
Returns a result projected from the the cardinality of the sequence and the single element in the sequence if it contains exactly one element.
Top
See Also