Can multiple catch blocks be executed?

Answer Posted / amina awan

Multiple catch blocks will not be executed. But we can use multiple catch blocks for a try block. The respective catch block will get executed according to the error arises.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between Java and .NET garbage collectors?

707


Why can’t struct be used instead of class for storing entity?

680


What does type safe mean in c#?

681


How do I simulate optional parameters to com calls?

714


Can an array be null c#?

686


What is thread pooling?

714


What is a Command Object in C#?

720


Will the following code compile and run?

720


Which is the best language for desktop application?

638


What is the difference between internal and protected in c#?

629


What is a value type in c#?

683


How do we achieve encapsulation in c#?

682


Hi to all..I have to create an intranet application on C#.NET windows Application so please please let can you people help me as iam new in .NET and if u have any samples or website address from where i can get sample please let know.

3992


What debugging tools come with the .NET ssSDK?

943


How do I format a string in c#?

639