public IEnumerable <string> Get2() { //var test1 = ""; //Console.WriteLine(test1); //for (int i = 0; i < 15; i++) { // var test2 = rand.Next().ToString(); // test1 += test2; // Console.WriteLine(test1); // yield return "Test_" + i + "_" + test2; //} Get2d__4 Get2d__ = new Get2d__4(-2); Get2d__.__4__this = this; return(Get2d__); }
private IEnumerator <string> InternalGetEnumerator() { Get2d__4 Get2d__; if ((Thread.CurrentThread.ManagedThreadId == __l__initialThreadId) && (__1__state == -2)) { __1__state = 0; Get2d__ = this; } else { Get2d__ = new Get2d__4(0); Get2d__.__4__this = __4__this; } return(Get2d__); }