C# (Sharp) Programming Language Question:

Download Job Interview Questions and Answers PDF

Can multiple catch blocks be executed?

C# (Sharp) Programming Language Interview Question
C# (Sharp) Programming Language Interview Question

Answer:

No, once the proper catch code fires off, the control is transferred to the finally block (if there are any), and then whatever follows the finally block.

Download C# (Sharp) Programming Language Interview Questions And Answers PDF

Previous QuestionNext Question
Does C# support multiple inheritance?Can you override private virtual methods?