Click or drag to resize

ContainerHelperPeekK, V Method (DictionaryK, V, Int32)

Returns the value from the dictionary at the nth position as defined by the iterator of the dictionary.

Namespace:  de.unika.ipd.grGen.libGr
Assembly:  libGr (in libGr.dll) Version: GrGen.NET 7.2
Syntax
C#
public static K Peek<K, V>(
	Dictionary<K, V> dict,
	int num
)

Parameters

dict
Type: System.Collections.GenericDictionaryK, V
A dictionary.
num
Type: SystemInt32
The number of the element to get in the iteration sequence.

Type Parameters

K
V

Return Value

Type: K
The element at the position to get.
See Also