Kaos.Collections Library
Kaos.Collections Library
Kaos.Collections
RankedMap(TKey, TValue).KeyCollection Class
KeyCollection Methods
ICollection(TKey).Add Method
ICollection(TKey).Clear Method
ICollection(TKey).Contains Method
ICollection.CopyTo Method
IEnumerable(TKey).GetEnumerator Method
IEnumerable.GetEnumerator Method
ICollection(TKey).Remove Method
Contains Method
CopyTo Method
Distinct Method
ElementAt Method
ElementAtOrDefault Method
First Method
GetCount Method
GetDistinctCount Method
GetEnumerator Method
IndexOf Method
Last Method
Reverse Method
Skip Method
SkipWhile Method
TryGetGreaterThan Method
TryGetGreaterThanOrEqual Method
TryGetLessThan Method
TryGetLessThanOrEqual Method
RankedMap
TKey
,
TValue
KeyCollection
ElementAt Method
Gets the key at the supplied index.
Namespace:
Kaos.Collections
Assembly:
KaosCollections (in KaosCollections.dll) Version: 4.2.0.0
Syntax
C#
Copy
public
TKey
ElementAt
(
int
index
)
Parameters
index
Type:
System
Int32
The zero-based index of the element to get.
Return Value
Type:
TKey
The key at
index
.
Exceptions
Exception
Condition
ArgumentOutOfRangeException
When
index
is less than zero or not less than the number of items.
Remarks
This is a O(log
n
) operation.
See Also
Reference
RankedMap
TKey, TValue
KeyCollection Class
Kaos.Collections Namespace
[v4.2.0.0] Copyright © 2009-2019 Kasey O. (github.com/kaosborn)