标签:
1 Hashtable table = new Hashtable(); 2 table.Add("dsa", "das"); 3 Console.WriteLine(table);//System.Collections.Hashtable//输出的是类型 4 Console.WriteLine(table.Keys);//System.Collections.Hashtable+KeyCollection 5 Console.WriteLine(table.Values); //System.Collections.Hashtable+ValueCollection 6 Console.WriteLine(table.Keys.Count); //1 7 Console.ReadKey();
标签:
原文地址:http://www.cnblogs.com/leee/p/4437343.html