Click or drag to resize

RankedMapTKey, TValueKeyCollectionElementAtOrDefault Method

Gets the key at the supplied index or the default if the index is out of range.

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

Parameters

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

Return Value

Type: TKey
The key at index.
Remarks
This is a O(log n) operation.
See Also