FirstOrDefaultExtension Class
FirstOrDefault extension.
Namespace: MoreLinq.ExtensionsAssembly: MoreLinq (in MoreLinq.dll) Version: 4.4.0+6d97c3b1d482f98300f4446df14742b0e3fafbec
public static class FirstOrDefaultExtension
<ExtensionAttribute>
Public NotInheritable Class FirstOrDefaultExtension
[ExtensionAttribute]
public ref class FirstOrDefaultExtension abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
[<ExtensionAttribute>]
type FirstOrDefaultExtension = class end
- Inheritance
- Object FirstOrDefaultExtension
FirstOrDefaultT |
Returns the first element of a sequence, or a default value if the
sequence contains no elements.
|