CollectionExtensionsGetOrDefault Method

Overload List

GetOrDefaultTKey, TValue(IDictionaryTKey, TValue, TKey) Attempts to get the value for the given key and returns the default value instead if the key does not exist in the IDictionaryTKey, TValue.
GetOrDefaultTKey, TValue(IDictionaryTKey, TValue, TKey, FuncTKey, TValue) Attempts to get the value for the given key and returns the default value instead if the key does not exist in the IDictionaryTKey, TValue.

See Also