c# get last array element

65

c# get last array element -

string[] items = GetAllItems();
string lastItem = items[items.Length - 1];
int arrayLength = array.Length;

Comments

Submit
0 Comments