Home > DeveloperSection > Interviews > Is it possible to execute two catch blocks?

Posted on    September-04-2014 11:34 PM

 C# C# 
 1 Answer(s)
  838  View(s)
Rate this:

Sumit Kesarwani

Total Post:782

Posted on    September-04-2014 12:00 AM

You are allowed to include more than one catch block in your program; however, it is not possible to execute them in one go. Whenever, an exception occurs in your program, the correct catch block is executed and the control goes to the finally block.

Don't want to miss updates? Please click the below button!

Follow MindStick