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
Is dictionary a collection?
What are the three types of predicates?
Write a syntax for writing a event delegate.
What are abstract classes in c#?
What is static void main in c#?
What is difference between ilist and list in c#?
Explain About Global.asax
What are the different types of assembly?
How to create multi-dimensional array?
What is difference between float and decimal?
How many destructors can a class have?
Define method overloading in c#?
Why do we need static in c#?
What can we do to handle multiple exceptions?
What does writeline mean?