首页 > 其他 > 详细

for循环 Dictionary

时间:2018-01-10 12:48:15      阅读:165      评论:0      收藏:0      [点我收藏+]
Dictionary<string, string> dic = new Dictionary<string, string>();
            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;
            }

  

for循环 Dictionary

原文:https://www.cnblogs.com/XuPengLB/p/8257724.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!