FrozenDictionary<TKey,TValue>.ICollection<KeyValuePair<TKey,TValue>>.Add Method

Definition

Adds an item to the ICollection<T>.

C#
void ICollection<KeyValuePair<TKey,TValue>>.Add(System.Collections.Generic.KeyValuePair<TKey,TValue> item);

Parameters

item
KeyValuePair<TKey,TValue>

The object to add to the ICollection<T>.

Implements

Applies to

Product Versions
.NET 8 (package-provided), 8, 9 (package-provided), 9, 10 (package-provided), 10
.NET Standard 2.0 (package-provided)