Home > DeveloperSection > Interviews > Can multiple catch blocks be executed?

Posted on    October-16-2010 12:00 AM

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

Pushpendra Singh

Total Post:241

Posted on    November-01-2010 12:00 AM

No. Multiple catch block can not be executed.

We may have the multiple catch block.Every catch block
has the different exception.when code found any error
suitable exception will be fired but only one catch block

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

Follow MindStick