FirstOrDefaultExtension Class

FirstOrDefault extension.

Definition

Namespace: MoreLinq.Extensions
Assembly: MoreLinq (in MoreLinq.dll) Version: 3.4.0+b99a6a8cc504caf2d48372fe54a2f8116c59cd0c
C#
public static class FirstOrDefaultExtension
Inheritance
Object    FirstOrDefaultExtension

Methods

FirstOrDefaultT Returns the first element of a sequence, or a default value if the sequence contains no elements.

See Also