System.Collections.Generic.Dictionary<TKey,TValue>.GetEnumerator Method
Returns an enumerator that can be used to iterate over the dictionary.

Syntax

public Dictionary<TKey, TValue>.Enumerator GetEnumerator ()

Returns

An enumerator for the dictionary.

Remarks

Usage
For a detailed description regarding the use of an enumerator, see IEnumerator<TKey>.

Requirements

Namespace: System.Collections.Generic
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0