using System.Collections.Generic;
public static void Main()
Dictionary<int,string> h = new Dictionary<int,string>();
foreach (KeyValuePair<int,string> d in h)
Console.WriteLine(d.Key + " " + d.Value);
Console.WriteLine(h.ContainsKey(6));
SortedDictionary<int,string> s = new SortedDictionary<int,string>();
foreach (KeyValuePair<int,string> d in s)
Console.WriteLine(d.Key + " " + d.Value);
Console.WriteLine(s.ContainsValue("two"));