Created
April 27, 2012 11:16
-
-
Save TryJSIL/2508470 to your computer and use it in GitHub Desktop.
Goto
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
public static class Program { | |
public static void Main (string[] args) { | |
int i = 0; | |
a: | |
i += 1; | |
Console.WriteLine("a"); | |
for (; i < 16; i++) { | |
if (i == 8) | |
goto a; | |
else | |
goto c; | |
c: | |
Console.WriteLine("c"); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment