110,565
社区成员
发帖
与我相关
我的任务
分享
System.Collections.Hashtable ht = new System.Collections.Hashtable();
ht.Add(123,"123");
ht.Add(true, 222);
ht.Add('c', new int[4]);
System.Collections.ArrayList arr=new System.Collections.ArrayList();
arr.Add(123);
arr.Add("123");
arr.Add(true);
System.Collections.Generic.Dictionary<int,string> dic=new Dictionary<int,string>();
dic.Add(1,"1");
System.Collections.Generic.List<int> li = new System.Collections.Generic.List<int>();
li.Add(1);
li.Add(2);
li.Add(3);