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

Returns the elements of the specified sequence or the type parameter's default value in a singleton collection if the sequence is empty.

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