Last method (list)

Returns the last element in the list.

Syntax

list.Last

Returns the last element in list.

If list is empty then it returns itself.