Click or drag to resize

RouletteDictionaryTKey, TValueRemoveRandomAndGet Method

Removes a random entry from the dictionary, returning the removed entry as a KeyValuePair.

Namespace:  Scaleout.Collections
Assembly:  Scaleout.Collections (in Scaleout.Collections.dll) Version: 1.0.3.0 (1.0.3.0)
Syntax
C#
public KeyValuePair<TKey, TValue> RemoveRandomAndGet()

Return Value

Type: KeyValuePairTKey, TValue
A KeyValuePair containing the removed entry.
See Also