Hashtable 使用GetEnumerator() 时发生 System.InvalidOperationException类型错误

an exception of type System.InvalidOperationException is thrown if the collection is modified within a foreach loop, reporting that the collection was modified after the enumerator was instantiated.
因为枚举的时候改变了Hashtable集合.

http://mark.michaelis.net/Blog/TheInternalsOfForeach.aspx

http://support.microsoft.com/kb/815634/zh-cn

相关文章:

  • 2021-09-04
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-23
  • 2022-12-23
  • 2022-01-08
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-09-21
  • 2022-12-23
  • 2022-01-13
相关资源
相似解决方案