Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# array last element

int[] array = { 1, 3, 5 };
var lastItem = array[^1]; // 5
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #array #element
ADD COMMENT
Topic
Name
4+7 =