CollectionExtensionsGetOrAdd Method

Overload List

GetOrAddTKey, TValue(IDictionaryTKey, TValue, TKey, TValue) Adds a key/value pair to the IDictionaryTKey, TValue if the key does not already exist.
GetOrAddTKey, TValue(IDictionaryTKey, TValue, TKey, FuncTKey, TValue) Adds a key/value pair to the IDictionaryTKey, TValue if the key does not already exist.

See Also