[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Returns the first item returned by the enumerator of the collection.

Namespace: net.esper.compat
Assembly:   NEsper (in NEsper.dll)

Syntax

Visual Basic (Declaration)
Public Shared Function First(Of T) ( _
	sourceCollection As IEnumerable(Of T) _
) As T
C#
public static T First<T> (
	IEnumerable<T> sourceCollection
)
Visual C++
public:
generic<typename T>
static T First (
	IEnumerable<T>^ sourceCollection
)

Parameters

sourceCollection
System.Collections.Generic.IEnumerable<(Of T>)

Return Value

Type Parameters

T