Contract<T>.Remove At(Int32) Method
Removes the item at the specified index in an IListContract<T> collection.
public: void RemoveAt(int index);
public void RemoveAt (int index);
abstract member RemoveAt : int -> unit
Public Sub RemoveAt (index As Integer)
The index of the item to remove.
index is less than zero.
index is equal to or greater than the return value of the GetCount() method.
After you call RemoveAt, the items that follow the removed item move to occupy the vacated spot. The indexes of the items that are moved are also updated.