DictionaryExtensions Class

Definition

Several dictionary extension methods.

C++
public ref class DictionaryExtensions abstract sealed
Inheritance
DictionaryExtensions

Methods

AddRange<TKey,TValue>(IDictionary<TKey,TValue>, IDictionary<TKey,TValue>, Boolean)

Add one dictionary content to the another dictionary

GetOrDefault<TK,TV>(IDictionary<TK,TV>, TK)

Gets a value by the given key.

Remove<TK,TV>(ConcurrentDictionary<TK,TV>, TK)

Remove key from the ConcurrentDictionary

Applies to

Táirge Leaganacha
Visual Studio SDK 2019, 2022