Click or drag to resize

RankedDictionaryTKey, TValueValueCollectionLast Method

Gets the value of the element with the maximum key in the dictionary per the comparer.

Namespace:  Kaos.Collections
Assembly:  KaosCollections (in KaosCollections.dll) Version: 4.2.0.0
Syntax
C#
public TValue Last()

Return Value

Type: TValue
The value of the element with the maximum key.
Exceptions
ExceptionCondition
InvalidOperationExceptionWhen Count is zero.
Remarks
This is a O(1) operation.
See Also