In C#, what is the role of the 'finally' block in a try-catch-finally statement?
A. Catches any exceptions
B. Handles exceptions
C. Executes code regardless of whether an exception occurs or not
D. Terminates the program
Answer: Option C
Related Questions on Introduction to C Sharp

Join The Discussion