| RankedDictionaryTKey, TValueElementAtOrDefault Method |
Gets the key/value pair 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 public KeyValuePair<TKey, TValue> ElementAtOrDefault(
int index
)
Parameters
- index
- Type: SystemInt32
The zero-based index of the element to get.
Return Value
Type:
KeyValuePairTKey,
TValueThe element at
index.
Remarks This is a O(log n) operation.
See Also