LastOrDefaultExtension Class |
LastOrDefault extension.
Inheritance Hierarchy
Namespace:
MoreLinq.Extensions
Assembly:
MoreLinq (in MoreLinq.dll) Version: 3.0.0
Syntax public static class LastOrDefaultExtension
<ExtensionAttribute>
Public NotInheritable Class LastOrDefaultExtension
[ExtensionAttribute]
public ref class LastOrDefaultExtension abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
[<ExtensionAttribute>]
type LastOrDefaultExtension = class end
The LastOrDefaultExtension type exposes the following members.
Methods
| Name | Description |
---|
| LastOrDefaultT |
Returns the last element of a sequence, or a default value if the
sequence contains no elements.
|
TopSee Also