foreach(var item in myDictionary) { foo(item.Key); bar(item.Value); }
foreach (KeyValuePair<string, int> kvp in myDictionary) { print(kvp) }