Click or drag to resize

CollectionExtensionsGetValueOrDefault Method

Overload List
  NameDescription
Public methodStatic memberGetValueOrDefaultTKey, TValue(DictionaryTKey, TValue, TKey)
Gets the value from the dictionary, or the default value of TValue if no item with the specified key exists.
Public methodStatic memberGetValueOrDefaultTKey, TValue(IDictionaryTKey, TValue, TKey)
Gets the value from the dictionary, or the default value of TValue if no item with the specified key exists.
Public methodStatic memberGetValueOrDefaultTKey, TValue(IReadOnlyDictionaryTKey, TValue, TKey)
Gets the value from the dictionary, or the default value of TValue if no item with the specified key exists.
Public methodStatic memberGetValueOrDefaultTKey, TValue(DictionaryTKey, TValue, TKey, TValue)
Gets the value from the dictionary, or the default value if no item with the specified key exists.
Public methodStatic memberGetValueOrDefaultTKey, TValue(IDictionaryTKey, TValue, TKey, TValue)
Gets the value from the dictionary, or the default value if no item with the specified key exists.
Public methodStatic memberGetValueOrDefaultTKey, TValue(IReadOnlyDictionaryTKey, TValue, TKey, TValue)
Gets the value from the dictionary, or the default value if no item with the specified key exists.
Top
See Also