IStringKeyedReadOnlyDictionaryTValueGetValueOrDefault(StringSegment) 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: 8.1.0
C#
TValue GetValueOrDefault(
	StringSegment key
)

Parameters

key  StringSegment
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