Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Can multiple catch blocks be executed?

Answer Posted / guest

It is possible to use more than one specific catch clause
in the same try-catch statement. In this case, the order of
the catch clauses is important because the catch clauses
are examined in order. Catch the more specific exceptions
before the less specific ones.

source: msdn

Is This Answer Correct ?    3 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the usage of transponders?

939


What is func c#?

981


Why do we need private constructor in c#?

868


Is there a way of specifying which block or loop to break out of when working with nested loops?

991


What is fcl in c#?

859


Explain the 3 types of properties in c# with an example?

1048


What does dbml stand for?

995


What is the namespace for the thread class?

938


Can we override main method in c#?

948


How to implement an object pool in c#.net.

1033


Overloaded constructor will call default constructor internally?

1027


What is difference between write and writeline in c#?

891


Why is main static in c#?

944


What do you mean by a windows process in regards to memory allocation?

944


How can I create a process that is running a supplied native executable (e.g., Cmd.exe)?

1079