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
Who benefits from ajax?
What are value types and reference types?
What is difference between sleep () and wait ()?
How do you create dlls in .NET
What is the full form of GAC? Explain its uses?
What do you know about WM_CHAR message?
Is c# good for games?
Why are local variables stored in stack?
How to put assembly in gac?
What is meant by console programming?
What is ildasm and obfuscator in net?
if you do have a stack overflow profile.what is your ranking?
Does constructor return any value in c#?
What are the two uses of a ‘using’ statement in c#?
Does unity require coding?