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

How many catch blocks can be there for a single try block?

Answer Posted / d.s naidu

Single try block can handle multiple catch blocks.Let
assume if you have 4 catch blocks for a single try block.
while excuting/debugging the code, if the exception raises
that will go the appropriate catch block and resolve the
problem by the programmer. the remaining 3 catch blocks
will raise , if those really having the exception as per
the code logic

Is This Answer Correct ?    20 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between integer and double?

922


What is a interface in c#?

1013


What is a linq in c#?

885


Should I use double or float?

897


Which is faster hashtable or dictionary?

977


What are the Uses of CLR

1224


Why c# is called type safe language?

838


What is meant by collections in c#?

864


What is writeline in c#?

873


What does .length do in c#?

940


What is private constructor c#?

924


What is the meaning of int parse in c#?

948


What is difference between ienumerable and list?

983


Are enums static c#?

977


How is exception handling implemented in c#?

1046