iterating and object as dictionary in c# code example
Example: iterate through dictionary c#
foreach(var item in myDictionary)
{
foo(item.Key);
bar(item.Value);
}
foreach(var item in myDictionary)
{
foo(item.Key);
bar(item.Value);
}