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 difference between method and function in c#?
What is the use of tuple in c#?
What is .edmx file?
What are the types of constructors?
What is the difference between disposing of () and finalize() methods in c#?
Can we inherit two classes in c#?
Does constructor return any value in c#?
What does type safety mean?
Is c# the same as d flat?
What is interface inheritance in c#?
Is a structure a class?
Is datetime immutable c#?
Do unused Namespaces in c# affect run-time performance?
What do you understand by the terms datareader object and dataset object?
What are the different types of delegates?