Vidyalelo
C# Programming · Q55

Introduction to C Sharp

Programming · C# Programming · question 55

Q55

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
Answer
D.
Terminates the program

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board