Collection<T>.Remove At(Int32) Method
Removes an item at a specified index from the collection.
public: virtual void RemoveAt(int index);
public void RemoveAt (int index);
abstract member RemoveAt : int -> unit override this.RemoveAt : int -> unit
Public Sub RemoveAt (index As Integer)
The zero-based index of the element to be retrieved from the collection.
index specified is less than zero or greater than the number of items in the collection.
The elements in the collection that follow the removed element move up to occupy the vacated spot and their indices are updated accordingly.