0
Answer

Exception Handlers

Shraddha Bhat

Shraddha Bhat

11y
1.1k
1
Write a C# program that shows the importance of the order of exception handlers.Write two programs :
One with the correct order of catch handlers and one with an incorrect order (i.e., place the base class
exception handler before the derived –class exception handlers).Show that if you attempt to catch a base –
class exception type before a derived -class exception type ,the derived –class exceptions are not invoked
(which potentially yield logical errors in routine ). Explain why these errors occur.