I am trying to get the last item in an array every time... The array may be any size but i know that the last item in the array is always the value i need... I am trying to do this and the code is failing:
int arySize = aryItem.Length;
in MyVariable = Convert.ToInt32(aryItem[arySize]);
How can i get the last array item every time?