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 is polymorphism c# example?
What is the use of system.environment class in c#.net?
Can you declare a field readonly?
What is meant by collections in c#?
What is a generic method?
What are modifiers in c#?
What is parallel foreach in c#?
How do I declare a pure virtual function in c#?
Which framework is best for desktop application?
What are escape sequences explain with example?
What is the use of 'as' Keyword in C# ?
What are the fundamental oop concepts?
What is stringwriter c#?
What is the .NET collection class that allows an element to be accessed using a unique key?
What are the features of c#?