Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

last index for array c#

string[] items = GetAllItems();
string lastItem = items[items.Length - 1];
int arrayLength = array.Length;
 
PREVIOUS NEXT
Tagged: #index #array
ADD COMMENT
Topic
Name
9+1 =