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 a string c#?
What is monitor in C#?
What are different types of classes in c#?
What is the full form of GAC? Explain its uses?
How to get the sum of last 3 items in a list using lambda expressions?
What is the use of 'as' Keyword in C# ?
Explain About delegates
Is c# used for frontend or backend?
Is list ienumerable c#?
Why dictionary is used in c#?
Why to use “finally” block in c#?
What is concrete class in c# with example?
What is the use of dll file in c#?
What are custom exceptions?
What is a protected class c#?