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

Posted on    October-16-2010 12:00 AM

 C# C# 
Ratings:
 1 Answer(s)
  1008  View(s)
Rate this:

Pushpendra Singh

Total Post:241

Points:1205
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
executed.

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

Follow MindStick