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 language is arduino?
What is the full form of GAC? Explain its uses?
Is c# static or dynamic?
How can I create image pieces/sub image?
Can we override main method in c#?
How to transpose multi-dimensional array?
What are different types of classes in c#?
Can we make a Static Constructor Parameterized? Give Reason with your answer
Why do we use Design Pattern in C#?
What is string method in c#?
What is the use of delegates in c#?
What is the difference between struct and class c#?
What is difference between static and constant variable?
How do I create a single-file assembly?
What is datagrid c#?