Logo

Programming-Idioms

History of Idiom 165 > diff from v61 to v62

Edit summary for version 62 by VanKrock:
New C# implementation by user [VanKrock]

Version 61

2020-05-07, 13:02:16

Version 62

2020-05-18, 03:57:03

Idiom #165 Last element of list

Assign to variable x the last element of list items.

Idiom #165 Last element of list

Assign to variable x the last element of list items.

Variables
x,items
Variables
x,items
Code
var x = items[items.Count-1];