使用泛型 类型“System.Collections.Generic.IEnumerator<T>”需要“1”个类型实参

解决方法:加入命名空间using System.Collections;即可。

本来以为含有using System.Collections.Generic;就不该出现这个问题,原来还必须using System.Collections;才能消除错误。

posted @ 2016-03-26 15:29  ziwuxian  阅读(309)  评论(0)    收藏  举报