Click or drag to resize

ContainerHelperPeekK, V(DictionaryK, V, Int32) Method

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.1
Syntax
C#
public static K Peek<K, V>(
	Dictionary<K, V> dict,
	int num
)

Parameters

dict  DictionaryK, V
A dictionary.
num  Int32
The number of the element to get in the iteration sequence.

Type Parameters

K
V

Return Value

K
The element at the position to get.
See Also