CAN MULTIPLE CATCH BLOCKS BE EXECUTED?

Awadhendra Tiwari

Total Post:505

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

    Post:505

    Points:2525
    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!