You are here: Symbol Reference > Stimulsoft.Base.Json.Utilities.LinqBridge Namespace > Enumerable Class > Enumerable Methods > DefaultIfEmpty Method > DefaultIfEmpty Method (this IEnumerable<TSource>, TSource)
Stimulsoft Reports Class Reference
ContentsIndexHome
PreviousUpNext
Enumerable.DefaultIfEmpty Method (this IEnumerable<TSource>, TSource)

Returns the elements of the specified sequence or the specified value in a singleton collection if the sequence is empty.

Syntax
C++
C#
Visual Basic
public: IEnumerable<TSource> DefaultIfEmpty<TSource>( this IEnumerable<TSource> source, TSource defaultValue );
Made with Doc-O-Matic.
What do you think about this topic? Send feedback!
Copyright (c) 2017. All rights reserved.