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 difference between method and function in c#?

959


What is the use of tuple in c#?

972


What is .edmx file?

1050


What are the types of constructors?

957


What is the difference between disposing of () and finalize() methods in c#?

1055


Can we inherit two classes in c#?

1000


Does constructor return any value in c#?

1002


What does type safety mean?

1124


Is c# the same as d flat?

957


What is interface inheritance in c#?

966


Is a structure a class?

984


Is datetime immutable c#?

975


Do unused Namespaces in c# affect run-time performance?

1093


What do you understand by the terms datareader object and dataset object?

1025


What are the different types of delegates?

970