SequenceT, TSelfFirst Method

Gets the first value in the sequence.

Definition

Namespace: Austra.Library
Assembly: Austra.Library (in Austra.Library.dll) Version: 2.5.0+d1268756e036101f601080f153b3997e72fc912d
C#
public virtual T First()

Return Value

T
The first value, or an exception, when empty.

Exceptions

EmptySequenceExceptionWhen the sequence is empty.

See Also