Click or drag to resize

RankedBagTRemoveAt Method

Removes the element at the supplied index from the bag.

Namespace:  Kaos.Collections
Assembly:  KaosCollections (in KaosCollections.dll) Version: 4.2.0.0
Syntax
C#
public void RemoveAt(
	int index
)

Parameters

index
Type: SystemInt32
The zero-based position of the item to remove.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionWhen index is less than zero or greater than or equal to Count.
Remarks

After this operation, the index of all following items is reduced by one.

This is a O(log n) operation.

See Also