CAN MULTIPLE CATCH BLOCKS BE EXECUTED?

Awadhendra Tiwari

Total Post:510

Points:2550
Posted by  Awadhendra Tiwari
C# 
C#
 1501  View(s)
Ratings:
Rate this:
  1. Awadhendra Tiwari

    Post:510

    Points:2550
    Can multiple catch blocks be executed?

    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.

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!