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

If multiple interfaces are inherited and they have conflicting method names; What will happen ?

963


What is method and function in c#?

993


Explain the difference between pass by value and pass by reference.

953


How many types of constructors are there in c#?

982


Define an assembly in .net?

962


What is strongly typed in c#?

920


What is the use of thread join in c#?

917


What do you know about Translate Accelerator?

1085


How many types of namespaces available in version4?

952


Define delegate in c#?

925


What is difference between code access and role based security?

1083


What is the difference between decimal and integer?

1113


Explain lock, monitors, and mutex object in threading.

916


How can I get the ascii code for a character in c#?

1063


How to rotate an Image in C#?

1108