Beginner
C#
Q22 / 100
What is exception handling in C# using try-catch?
Correct! Well done.
Incorrect.
The correct answer is B) Catches and handles exceptions in a structured way; finally always executes
B
Correct Answer
Catches and handles exceptions in a structured way; finally always executes
Explanation
try { risky code } catch (Exception ex) { handle } finally { cleanup } — finally runs whether or not an exception was thrown.
Progress
22/100