BoundsCheckableList1.RemoveAt

BoundsCheckableList<T>.RemoveAt 方法

移除 System.Collections.Generic.List 中指定索引的元素。

public void RemoveAt(int index)
参数类型描述
indexInt32要移除的元素的零基索引。

异常

异常条件
ArgumentOutOfRangeExceptionindex 小于 0。 -或- index 等于或大于 Count。

另请参阅