foreach(KeyValuePair<int, string> kvp in dictionary) { Console.WriteLine("Key : " + kvp.Key.ToString() + ", Value : " + kvp.Value); }