Can multiple catch blocks be executed?
Answer Posted / senthil kumar
No.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.
Is This Answer Correct ? | 20 Yes | 1 No |
Post New Answer View All Answers
What is native image generator (ngen.exe)?
How do I unload an application domain?
What is an event in c#?
How would you describe encapsulation in c#?
How to assign Null value to Var?
What is data reader in c#?
What is serialization and deserialization in c# with example?
Can enum be null c#?
Can we have only “try” block without “catch” block in c#?
What is the c# equivalent of c++ catch (…), which was a catch-all statement for any possible exception? Does c# support try-catch-finally blocks?
Is double a decimal?
How long does it take to get a loop recorder put in?
How can I get around scope problems in a try/catch?
What is the and operator in c#?
How does insertion sort work?