1 // CS0202: foreach statement requires that the return type `System.Collections.Generic.IEnumerable<string>' of `Test.GetEnumerator()' must have a suitable public MoveNext method and public Current property
4 using System.Collections.Generic;
9 Test obj = new Test ();
10 foreach (string s in obj) {
14 public IEnumerable<string> GetEnumerator ()