Click or drag to resize
DequeTRemoveAt Method
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.Collections
Assembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntax
public override sealed void RemoveAt(
	int index
)

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
ExceptionCondition
ArgumentOutOfRangeExceptionindex is less than zero or greater than or equal to Count.
Remarks
The 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