SortedList<TKey, TValue>.IDictionary<TKey, TValue>.Keys Property


Gets an ICollection<T> containing the keys of the IDictionary<TKey, TValue>.

Namespace:   System.Collections.Generic
Assembly:  System (in System.dll)

ICollection<TKey> IDictionary<TKey, TValue>.Keys { get; }

The order of the keys in the ICollection<T> is the same as the order in the SortedList<TKey, TValue>.

Retrieving the value of this property is an O(1) operation.

Universal Windows Platform
Available since 10
.NET Framework
Available since 2.0
Return to top