static void Main(string[] args) { try { throw new AccessViolationException(); Console.WriteLine("error1"); } catch (Exception e) { Console.WriteLine("error2"); } Console.WriteLine("error3"); }
static void Main(string[] args) { try { throw new AccessViolationException(); Console.WriteLine("error1"); } catch (Exception e) { Console.WriteLine("error2"); } Console.WriteLine("error3"); }
error2
error3
error3
error2
error1