Dictionary with foreach

I’ve just want to mention how to do a foreach with a .NET 2.0 Hashtable:

[sourcecode lang="c#"]Dictionary dict = new Dictionary();
dict[„[„one"];
dict[„tw[„two"]br> dict[„thre[„thress"]>

foreach( KeyValuePair data in dict)
{
Debug.WriteLine( data.Key + “ => “ + data.Value );
}[/sourceco[/sourcecode]ime KeyValuePair is our friend.