Click or drag to resize

RouletteDictionaryTKey, TValueGetRandomValue Method

Gets a random value from the dictionary.

Namespace:  Scaleout.Collections
Assembly:  Scaleout.Collections (in Scaleout.Collections.dll) Version: 1.0.3.0 (1.0.3.0)
Syntax
C#
public TValue GetRandomValue()

Return Value

Type: TValue
A random value from the dictionary.
Exceptions
ExceptionCondition
InvalidOperationException The dictionary is empty.
See Also