How many catch blocks can be there for a single try block?
Answer Posted / gladiator
There can be any number of catch block for a single try
block.
However only the catch block encountered first on the call
stack that satisfies the condition for the exception will
be executed for that particular exception, rest will be
ingnored.
Is This Answer Correct ? | 69 Yes | 4 No |
Post New Answer View All Answers
What are variables in c#?
Describe the difference between inline and code behind - which is best?
Which are the access modifiers available in c#?
What is xml document how do you open it?
What is writeline in c#?
Who benefits from ajax?
Is list passed by reference c#?
What is serialization in unity?
What is exe in c#?
What is Dependency of Injection?
What are the benefits of using windows services:
Why do we use virtual methods in c#?
What is the meaning of extention?
What is variable in c#?
What sort algorithm does c# use?