C# Dictionary 的几种遍历方法
摘要:
Dictionary<string, int> list = new Dictionary<string, int>(); list.Add("d", 1); //3.0以上版本 foreach (var item in list) { Console.WriteLine(item.Key + it 阅读全文
posted @ 2016-08-02 10:53 NETBLOG 阅读(64781) 评论(0) 推荐(3) 编辑