Click or drag to resize

RankedBagTRemoveRange Method

Removes an index range of items from the bag.

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

Parameters

index
Type: SystemInt32
The zero-based starting index of the range of items to remove.
count
Type: SystemInt32
The number of items to remove.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionWhen index or count is less than zero.
ArgumentExceptionWhen index and count do not denote a valid range of items in the set.
Remarks
This is a O(log n) operation where n is Count.
See Also