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

Posted on    August-27-2014 11:58 PM

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

Sumit Kesarwani

Total Post:782

Posted on    August-27-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