using System; using System.Collections.Generic; public class App { public static void Main() { Dictionary values = new Dictionary(); values["one"] = 1; values["two"] = 2; foreach (string key in values.Keys) { System.Console.WriteLine("key: {0}", key); } } }