摘要: Dictionary<string,int> list =newDictionary<string,int>(); list.Add("d", 1);//3.0以上版本foreach(variteminlist) {Console.WriteLine(item.Key + item.Value); }//KeyValuePair<T,K>foreach(Key... 阅读全文
posted @ 2010-06-23 11:15 s80895304 阅读(325) 评论(0) 推荐(0) 编辑