Can multiple catch blocks be executed?
Answer Posted / kumarraju
Not Executed Multiple catch blocks, exception raised then
corresponding catch block only executed, after that finally
block executed. In case Exception is not raised then
finally block executed.
why you are writing multiple catch blocks than
one catch blocks?
Ans: you does not know what the exception raise, then you
are excepting some exceptions thats only you write multiple
catch blocks.
Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
State two different types of access modifiers.
without modifying source code if we compile again, will it be generated MSIL again?
Can fields inside a class be virtual?
Can we set image Source dynamically using C# in WPF application?
What is generic and non generic collections in c#?
Can scriptable objects have methods?
Which is the base class in c#?
Where is the main method in c#?
What is a thread c#?
How does one compare strings in c#?
Why do we use classes?
Can constructor have return type c#?
In .NET how can you solve the DLL Hell problem?
What are the benefits of using the aggregate method in linq?
What is constants in c#?