14 lines
172 B
C#
14 lines
172 B
C#
|
// A very simple generic interface
|
||
|
|
||
|
public interface IEnumerator<T> {
|
||
|
T Current { get; }
|
||
|
bool MoveNext();
|
||
|
void Reset();
|
||
|
}
|
||
|
|
||
|
class X
|
||
|
{
|
||
|
public static void Main ()
|
||
|
{ }
|
||
|
}
|