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