PostSharpAPI ReferencePost­Sharp.​Patterns.​CollectionsAdvisable­Collection<T>Remove­At
Open sandboxFocus

Method RemoveAt

RemoveAt(Int32)

Removes the IList<T> item at the specified index.

Declaration
public void RemoveAt(int index)
Parameters
Type Name Description
Int32 index

The zero-based index of the item to remove.

Exceptions
Type Condition
ArgumentOutOfRangeException

index is not a valid index in the IList<T>.

NotSupportedException

The IList<T> is read-only.