摘要: Dictionary<string, int> list = new Dictionary<string, int>(); list.Add("d", 1); foreach (var item in list) { Console.WriteLine(item.Key + item.Value); } //KeyValuePair<T,K> foreach (KeyValuePair<string, int> kv in list) ... 阅读全文
posted @ 2011-12-09 10:29 我思故我在... 阅读(204) 评论(0) 推荐(0) 编辑