fork download
  1. using System;
  2.  
  3. public class Test
  4. {
  5. public static void Main()
  6. {
  7. try
  8. {
  9. try
  10. {
  11. throw new Exception("Test");
  12. }
  13. finally
  14. {
  15. Console.WriteLine("Finally");
  16. }
  17. }
  18. catch (Exception e)
  19. {
  20. Console.WriteLine("in catch");
  21. }
  22. }
  23. }
Success #stdin #stdout 0.02s 33840KB
stdin
Standard input is empty
stdout
Finally
in catch