adplus-dvertising
frame-decoration

Question

Which of the following is the wrong statement about exception handling in C#.NET?

a.

finally clause is used to perform cleanup operations of closing network and database connections

b.

a program can contain multiple finally clauses

c.

the statement in final clause will get executed no matter whether an exception occurs or not

d.

all of the mentioned

Posted under C# programming

Answer: (b).a program can contain multiple finally clauses

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which of the following is the wrong statement about exception handling in C#.NET?