14 lines
172 B
C#
Raw Normal View History

// A very simple generic interface
public interface IEnumerator<T> {
T Current { get; }
bool MoveNext();
void Reset();
}
class X
{
public static void Main ()
{ }
}