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