fork download
  1. try
  2. {
  3. Console.WriteLine("Before");
  4. throw new ArgumentNullException("argument");
  5. Console.WriteLine("After");
  6. }
  7. catch (ArgumentException ae)
  8. { Console.WriteLine("ArgumentException");}
  9. catch (Exception e)
  10. { Console.WriteLine("Exception"); }
  11. finally
  12. { Console.WriteLine("Finally"); }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cs(1,3): error CS8025: Parsing error
Compilation failed: 1 error(s), 0 warnings
stdout
Standard output is empty