Home »

Is it possible to execute two catch blocks?

Question ListCategory: .NETIs it possible to execute two catch blocks?
shah_kajal184 author asked 8 years ago
1 Answers
denielshakespeare5 author answered 8 years ago

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.

Please login or Register to Submit Answer