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

Returns the only element of a sequence that satisfies a specified condition, and throws an exception if more than one such element exists.

Syntax
C++
C#
Visual Basic
public: TSource Single<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.