C Sharp (C#) - Exception Handling
Given nested try-catch blocks, what happens if an exception is thrown in the inner try and not caught there?
try {
try {
throw new Exception();
} catch (NullReferenceException) {
Console.WriteLine("Inner catch");
}
} catch (Exception) {
Console.WriteLine("Outer catch");
}