Dictionary<int, string> dic = new Dictionary<int, string>();
            Dictionary<int, string>.Enumerator en = dic.GetEnumerator();
            for (int i = 0; i < dic.Count; i++)
            {
                if (en.MoveNext())
                {
                    int key = en.Current.Key;
                    string value = en.Current.Value;
                }
            }

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-07-10
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-02-14
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案