摘要:
对于如下简单的代码: static void ILDiscoveryListDelete() { List<int> list = new List<int> { 1,2,3,4, }; foreach (var item in list) { list.Remove(item); } }在执行的时候会跑出如下异常:为什么会这样子呢,我们知道,foreach语句在... 阅读全文
posted @ 2011-08-29 12:58
QuarkZ
阅读(869)
评论(6)
推荐(0)

浙公网安备 33010602011771号