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

Why to use lock statement in c#?

875


Is c# and c sharp same?

805


What is the main method?

875


Can I use ReaderWriterLock instead of Monitor.Enter/Exit for Threading?

925


How many classes are there in classification?

941


Is null or empty in c#?

925


What do you mean by thread safe in c#?

824


Explain hash table in c# ?

1024


Can you use all access modifiers for all types?

914


Overloaded constructor will call default constructor internally?

984


How do partial classes work in c#?

880


What is the compiler of c#?

890


What is the difference between dataset and datatable in c#?

953


Is hashset ordered c#?

902


What's your approach to fetch static data in your windows form application?

937