class Tolkens:IEnumerable{。}中间省略;
错误:错误 1 使用泛型 类型“System.Collections.Generic.IEnumerable<T>”需要“1”个类型参数 CProjects\EnumeraleSample\Program.cs 7 19 EnumeraleSample
这是怎么回事,我是从书上copy的。
错误:错误 1 使用泛型 类型“System.Collections.Generic.IEnumerable<T>”需要“1”个类型参数 CProjects\EnumeraleSample\Program.cs 7 19 EnumeraleSample
这是怎么回事,我是从书上copy的。
{
......
}IEnumerable后面要加类型,上面的string你可以改成其它的类型,如int,long,......
反正不能不写