FrozenDictionary<TKey,TValue>.Keys Property

Definition

Gets a collection containing the keys in the dictionary.

C#
public System.Collections.Immutable.ImmutableArray<TKey> Keys { get; }

Property Value

Remarks

The order of the keys in the dictionary is unspecified, but it is the same order as the associated values returned by the Values property.

Applies to

Product Versions
.NET 8 (package-provided), 8, 9 (package-provided), 9
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided)