| RankedSetTElementAtOrDefault Method |
Gets the item 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 T ElementAtOrDefault(
int index
)
Parameters
- index
- Type: SystemInt32
The zero-based index of the item to get.
Return Value
Type:
TThe item at
index.
Remarks This is a O(log n) operation.
See Also