2 using System.Collections;
11 public interface IC : IA, IEnumerable
15 public class TestApp : IC
17 public static int Main ()
19 IC ic = new TestApp ();
20 foreach (int v in ic) {
28 public bool GetEnumerator ()
30 throw new NotImplementedException ();
35 #region IEnumerable Members
37 IEnumerator IEnumerable.GetEnumerator ()
39 return new int[0].GetEnumerator ();