Mono Class Library: System.Collections.Generic.IDictionary<TKey,TValue> Overview | Members

System.Collections.Generic.IDictionary<TKey,TValue>.Keys Property

Gets a collection containing the keys of the current instance.

public ICollection<TKey> Keys { get; }

Value

A collection containing the keys of the current instance.

Remarks

This property is read-only.

The order of the keys in the returned Generic.ICollection<TKey> is unspecified, but it is guaranteed to be the same order as the corresponding values in the collection returned by the IDictionary<TKey, TValue>.Values property.

Requirements

Namespace: System.Collections.Generic
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0