FirstOrDefaultExtension Class |
FirstOrDefault extension.
Inheritance Hierarchy
Namespace:
MoreLinq.Extensions
Assembly:
MoreLinq (in MoreLinq.dll) Version: 3.1.0+ce7250fcae16725db4e3607598b1d4d8cb19957f
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