LastOrDefaultExtension Class
LastOrDefault extension.
Namespace: MoreLinq.ExtensionsAssembly: MoreLinq (in MoreLinq.dll) Version: 3.4.0+b99a6a8cc504caf2d48372fe54a2f8116c59cd0c
public static class LastOrDefaultExtension
<ExtensionAttribute>
Public NotInheritable Class LastOrDefaultExtension
[ExtensionAttribute]
public ref class LastOrDefaultExtension abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
[<ExtensionAttribute>]
type LastOrDefaultExtension = class end
- Inheritance
- Object LastOrDefaultExtension
LastOrDefaultT |
Returns the last element of a sequence, or a default value if the
sequence contains no elements.
|