Click or drag to resize

RankedMapTKey, TValueFirst Method

Gets the element with the lowest sorted key in the map.

Namespace:  Kaos.Collections
Assembly:  KaosCollections (in KaosCollections.dll) Version: 4.2.0.0
Syntax
C#
public KeyValuePair<TKey, TValue> First()

Return Value

Type: KeyValuePairTKey, TValue
The element with the lowest sorted key in the map.
Exceptions
ExceptionCondition
InvalidOperationExceptionWhen Count is zero.
Remarks
This is a O(1) operation.
See Also