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 to use lock statement in c#?
Is c# and c sharp same?
What is the main method?
Can I use ReaderWriterLock instead of Monitor.Enter/Exit for Threading?
How many classes are there in classification?
Is null or empty in c#?
What do you mean by thread safe in c#?
Explain hash table in c# ?
Can you use all access modifiers for all types?
Overloaded constructor will call default constructor internally?
How do partial classes work in c#?
What is the compiler of c#?
What is the difference between dataset and datatable in c#?
Is hashset ordered c#?
What's your approach to fetch static data in your windows form application?