Answer Posted / awadhesh
For a given set of try catch only one exception block will
get executed. Notice in finally what you are having is a
new set of try catch statements. They are unrelated to the
one above , so it is wrong to say here that two catch
blocks were executed.
| Is This Answer Correct ? | 8 Yes | 1 No |
Post New Answer View All Answers
What is difference between private, protected, and public in C#?
What operator means?
what is difference between destruct or and garbage collection ?
Is concurrent queue thread safe?
Can abstract class instantiated c#?
What is generic types in c#?
Can abstract classes be final?
What is whitespace in c#?
What is a .aspx file?
What are Namespaces?
Can we have only “try” block without “catch” block in c#?
What is dll hell, and how does .net solve it?
What is .net console?
What is namespace c#?
What does protected internal access modifier mean?