FirstOrDefaultExtension Class |
FirstOrDefault extension.
Inheritance Hierarchy
Namespace:
MoreLinq.Extensions
Assembly:
MoreLinq (in MoreLinq.dll) Version: 3.0.0
Syntax public static class FirstOrDefaultExtension
<ExtensionAttribute>
Public NotInheritable Class FirstOrDefaultExtension
[ExtensionAttribute]
public ref class FirstOrDefaultExtension abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
[<ExtensionAttribute>]
type FirstOrDefaultExtension = class end
The FirstOrDefaultExtension type exposes the following members.
Methods
| Name | Description |
---|
| FirstOrDefaultT |
Returns the first element of a sequence, or a default value if the
sequence contains no elements.
|
TopSee Also