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 data encapsulation?
What is the difference between ienumerable and enumerator?
Why do we use namespace in c#?
Explain what is copy constructor?
what is full assembly reference
What is callback in c#?
What is concrete class in c#?
What is strongly typed in c#?
Is the following code legal?
In which situation(s), the use of "Delegate" is a good idea?
What is difference between new and override in c#?
What is the difference between serialization and deserialization in c#?
What does it mean to override a method?
What is wcf c#?
What are the Types of compatabilities and explain them