摘要:
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集合.
阅读全文