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

Returns the only element of a sequence, and throws an exception if there is not exactly one element in the sequence.

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