fork(2) download
  1. using System;
  2.  
  3. public class Test
  4. {
  5. public static void Main()
  6. {
  7. try
  8. {
  9. Console.WriteLine("Jumping now!");
  10. goto jump;
  11. }
  12. finally
  13. {
  14. Console.WriteLine("In the finally!");
  15. }
  16.  
  17. jump:
  18. Console.WriteLine("Done!");
  19. }
  20. }
Success #stdin #stdout 0.03s 36920KB
stdin
Standard input is empty
stdout
Jumping now!
In the finally!
Done!