Click or drag to resize

RankedBagTElementAt Method

Gets the item at the supplied index.

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

Parameters

index
Type: SystemInt32
The zero-based index of the item to get.

Return Value

Type: T
The item at index.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionWhen index is less than zero or not less than the number of items.
Remarks
This is a O(log n) operation.
See Also