Just check the size before you try to access it using
if( i<= arr.GetUpperBound())
tst = arr.ElementAt(i);
You can also use
, just remember that on an empty list that's going to give you zero where
will give you a -1 (size gives you the number of elements where UpperBound gives you the maximum index).