日期:2014-05-17 浏览次数:20425 次
Hashtable ht = new Hashtable(); ht.Add("E", "e"); ht.Add("A", "a"); ht["E"] = "e1"; foreach(var key in ht.Keys) { Console.WriteLine(key + "\t" + ht[key]); }