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
Why array is faster than arraylist in c#?
What is dao in c#?
What is the difference between static class and abstract class in c#?
Define c# i/o classes? List the commonly used classes?
How to use nullable types in .net?
What is callback function in c#?
What is gac? How to put assembly in gac?
Can we override main method in c#?
What is a method c#?
Define an assembly in .net?
What is the CTS, and how does it relate to the CLS?
What is desktop example?
What are the Types of JIT and what is econo-JIT
What are controls in c#?
Why do we use static class in c#?