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

Can we inherit private members of class in c#?

581


Does c# support parameterized properties?

516


When a switch is said to be congested?

578


What's the difference between a method and a procedure?

480


What are the 2 broad classifications of fields in c#?

536






Define mutex in C#?

615


What is a web service in c#?

583


Is concurrent queue thread safe?

478


What is the use of command builder?

539


write a program to find the biggest palindrome in the given string

548


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

511


What is gridview c#?

504


Is equal in c#?

507


Is array a collection c#?

528


What are desktop applications examples?

491