ArrayList.Erase Method

Removes an array index, shifting the entire array down from that position on. For example, if item 8 of 10 is removed, the last 3 items will then be (6,7,8) instead of (7,8,9), and all indexes before 8 will remain unchanged.

void Erase(int index)

Parameters

int index

Index in the array to remove at.

Errors

Invalid index.