Can multiple catch blocks be executed?

Answer Posted / senthil kumar

No.We may have the multiple catch block.Every catch block
has the different exception.when code found any error
suitable exception will be fired.but only one catch block
executed.

Is This Answer Correct ?    20 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can constructor be protected in c#?

684


What is difference between array and arraylist in c#?

645


what class is underneath the sortedlist class?

712


What is better C# or VB.NET?

679


What is the delegate in c#?

664


Explain About Postback

730


Can abstract class be instantiated c#?

707


Why do canadians say zed?

755


What Happens In Memory When You Box And Unbox A Value-type?

648


What is the default value of decimal in c#?

678


What is console based application?

707


What is array collection?

683


What is the default value of singleordefault?

673


What types of object can I throw as exceptions?

727


Is a decimal an integer?

656