Skip to content

Instantly share code, notes, and snippets.

@TryJSIL
Created April 27, 2012 11:16
Show Gist options
  • Save TryJSIL/2508470 to your computer and use it in GitHub Desktop.
Save TryJSIL/2508470 to your computer and use it in GitHub Desktop.
Goto
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