Removes the item at the given index in the Deque. All items at indexes
greater than index move down one index
in the Deque.
Namespace: X3Platform.CollectionsAssembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntaxpublic override sealed void RemoveAt(
int index
)
public:
virtual void RemoveAt(
int index
) override sealed
Parameters
- index
- Type: SystemInt32
The index in the list to remove the item at. The
first item in the list has index 0.
Implements
IListTRemoveAt(Int32)
Exceptions
RemarksThe amount of time to delete an item in the Deque is proportional
to the distance of index from the closest end of the Deque:
O(Min(index, Count - 1 - index)).
Thus, deleting an item at the front or end of the Deque is always fast; the middle of
of the Deque is the slowest place to delete.
See Also