using System; public class Test { public static void Main() { try { throw new Exception(); } finally { Console.WriteLine("You are wrong!"); } } }
Standard input is empty
You are wrong!
Unhandled Exception: System.Exception: Exception of type 'System.Exception' was thrown. at Test.Main () [0x00000] in <494aa72efaca4954a6c1580c85968fae>:0 [ERROR] FATAL UNHANDLED EXCEPTION: System.Exception: Exception of type 'System.Exception' was thrown. at Test.Main () [0x00000] in <494aa72efaca4954a6c1580c85968fae>:0