FirstOrDefaultExtension Class
FirstOrDefault extension.
Namespace: MoreLinq.ExtensionsAssembly: MoreLinq (in MoreLinq.dll) Version: 4.0.0+092a40d82a1b280568ffa006d9a210bdec0792cd
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.
|