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; }
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; }