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

Returns the first element of the sequence that satisfies a condition or a default value if no such element is found.

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