Click or drag to resize

RankedMapTKey, TValueKeys Property

Namespace:  Kaos.Collections
Assembly:  KaosCollections (in KaosCollections.dll) Version: 4.2.0.0
Syntax
C#
public RankedMapTKey, TValueKeyCollection Keys { get; }

Property Value

Type: RankedMapTKey, TValueKeyCollection
Remarks
The keys given by this collection are sorted according to the Comparer property.
Examples
The below snippet is part of a larger example of the RankedMapTKey, TValueclass.
C#
// To get the keys alone, use the Keys property.
RankedMap<string,string>.KeyCollection keys = fmt.Keys;

// The items of a KeyCollection have the type specified for the map keys.
Console.WriteLine ("\nKeys:");
foreach (string x in keys)
    Console.WriteLine ($"  {x}");
See Also