IStringKeyedDictionaryTValueGetValueOrDefault(String) Method

Tries to get the value from the dictionary for the given key.

Definition

Namespace: KGySoft.Collections
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 9.0.0
C#
TValue GetValueOrDefault(
	string key
)

Parameters

key  String
The key whose value to get.

Return Value

TValue
The found value or the default value of TValue if key was not found in the dictionary.

See Also