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 returned if you pass the value 12.34 to the parsefloat () function?
Write a program to find the angle between the hours and minutes in a clock
What is the difference between list and arraylist in c#?
Is javascript harder than c#?
What is difference between sleep () and wait ()?
What is asp net c# corner?
Is vs as c#?
What is sqldatareader c#?
What is interface c#?
What is dependency injection in simple words?
What is difference between for and foreach in c#?
What is the difference between array and list in c#?
Why is static constructor called first?
Is a char?
Are c# strings immutable?