Dictionarydic = new Dictionary (); dic.Add("1", "1"); for (int index = 0; index < dic.Count; index++) { var item = dic.ElementAt(index); var itemKey = item.Key; var itemValue = item.Value; }
本文共 371 字,大约阅读时间需要 1 分钟。
Dictionarydic = new Dictionary (); dic.Add("1", "1"); for (int index = 0; index < dic.Count; index++) { var item = dic.ElementAt(index); var itemKey = item.Key; var itemValue = item.Value; }
转载于:https://www.cnblogs.com/XuPengLB/p/8257724.html