The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
Enumerable::Last Method
.NET Framework (current version)
Returns the last element of a sequence.
Assembly: System.Core (in System.Core.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | Last<TSource>(IEnumerable<TSource>^) | Returns the last element of a sequence. |
![]() ![]() | Last<TSource>(IEnumerable<TSource>^, Func<TSource, Boolean>^) | Returns the last element of a sequence that satisfies a specified condition. |
Show:

