Click or drag to resize

MoreEnumerableFallbackIfEmpty Method

Overload List
  NameDescription
Public methodStatic memberFallbackIfEmptyT(IEnumerableT, IEnumerableT)
Returns the elements of a sequence, but if it is empty then returns an alternate sequence of values.
Public methodStatic memberCode exampleFallbackIfEmptyT(IEnumerableT, T)
Returns the elements of the specified sequence or the specified value in a singleton collection if the sequence is empty.
Public methodStatic memberFallbackIfEmptyT(IEnumerableT, T)
Returns the elements of a sequence, but if it is empty then returns an alternate sequence from an array of values.
Public methodStatic memberFallbackIfEmptyT(IEnumerableT, T, T)
Returns the elements of a sequence, but if it is empty then returns an alternate sequence of values.
Public methodStatic memberFallbackIfEmptyT(IEnumerableT, T, T, T)
Returns the elements of a sequence, but if it is empty then returns an alternate sequence of values.
Public methodStatic memberFallbackIfEmptyT(IEnumerableT, T, T, T, T)
Returns the elements of a sequence, but if it is empty then returns an alternate sequence of values.
Top
See Also