Vidyalelo
C# Programming · Q22

Basic Syntax and Data Types in C Sharp

Programming · C# Programming · question 22

Q22

In C#, what is the role of the 'finally' block in a try-catch-finally statement?

A.
Executes code regardless of exceptions
Answer
B.
Catches any exceptions
C.
Handles exceptions
D.
Terminates the program

Answer: Option A

Solution

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