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...

What is the use of giving more than one CATCH BLOCK in one
TRY block? Directly we can give that catch(Exception e)?Why
we go for arrayoutofbound Exception,divided by zero etc..?
Explain

Answer Posted / raman

C# is not only an object oriented but real
scenariodevelopment.
Purpose of multiple catch block is to map the exact error
and handle it accordingly. Handling Exception e is the
worst type of development.

Is This Answer Correct ?    6 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which is faster list or dictionary in c#?

1011


Which sorting algorithm is best?

1041


How to generate strong name key file or which command is used to generated strong name key file?

999


Which compiler switch creates an xml file from xml comments in the files in an assembly?

1054


Which of these string definitions will prevent escaping on backslashes in c#?

1049


Is javascript harder than c#?

1011


What is private protected in c#?

948


What is sqlcommandbuilder c#?

991


What are the types of serialization?

1011


What is virtual in c#?

940


What is cshtml extension?

991


What is a base class in C#?

1009


What operators can be used to cast from one reference type to another without the risk of throwing an exception?

944


What is the property of a class in c#?

921


What is an assembly loader?

998