LastOrDefaultExtension Class |
LastOrDefault extension.
Inheritance Hierarchy
Namespace:
MoreLinq.Extensions
Assembly:
MoreLinq (in MoreLinq.dll) Version: 3.1.0+ce7250fcae16725db4e3607598b1d4d8cb19957f
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