Can multiple catch blocks be executed?
Answer Posted / guest
It is possible to use more than one specific catch clause
in the same try-catch statement. In this case, the order of
the catch clauses is important because the catch clauses
are examined in order. Catch the more specific exceptions
before the less specific ones.
source: msdn
| Is This Answer Correct ? | 3 Yes | 6 No |
Post New Answer View All Answers
What is the usage of transponders?
What is func c#?
Why do we need private constructor in c#?
Is there a way of specifying which block or loop to break out of when working with nested loops?
What is fcl in c#?
Explain the 3 types of properties in c# with an example?
What does dbml stand for?
What is the namespace for the thread class?
Can we override main method in c#?
How to implement an object pool in c#.net.
Overloaded constructor will call default constructor internally?
What is difference between write and writeline in c#?
Why is main static in c#?
What do you mean by a windows process in regards to memory allocation?
How can I create a process that is running a supplied native executable (e.g., Cmd.exe)?