C Sharp (C#) - Exception Handling
Consider this code:
What will be the output?
try {
Console.WriteLine("A");
try {
int y = int.Parse("abc");
} catch (FormatException) {
Console.WriteLine("Format error");
}
Console.WriteLine("B");
} catch (Exception) {
Console.WriteLine("General error");
}What will be the output?
