ArrayList.ShiftUp Method

Shifts an array up. All array contents after and including the given index are shifted up by one, and the given index is then "free." After shifting, the contents of the given index is undefined.

void ShiftUp(int index)


int index

Index in the array to shift up from.


Invalid index.