摘要: 1.当用foreach遍历Collection时,如果对Collection有Add或者Remove操作时,会发生以下运行时错误: "Collection was modified; enumeration operation may not execute." 如下所示: 究其原因,是因为Coll 阅读全文
posted @ 2017-02-26 14:15 carsonche 阅读(176) 评论(0) 推荐(0) 编辑