Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# get last array element

string[] items = GetAllItems();
string lastItem = items[items.Length - 1];
int arrayLength = array.Length;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #array #element
ADD COMMENT
Topic
Name
4+8 =