Share via


DictionaryExtensions Class

Definition

Several dictionary extension methods.

public ref class DictionaryExtensions abstract sealed
public static class DictionaryExtensions
type DictionaryExtensions = class
Public Module DictionaryExtensions
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