LastOrDefaultExtension Class

LastOrDefault extension.

Definition

Namespace: MoreLinq.Extensions
Assembly: MoreLinq (in MoreLinq.dll) Version: 4.4.0+6d97c3b1d482f98300f4446df14742b0e3fafbec
C#
public static class LastOrDefaultExtension
Inheritance
Object    LastOrDefaultExtension

Methods

LastOrDefaultT Returns the last element of a sequence, or a default value if the sequence contains no elements.

See Also