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 are virtual destructors?

979


Is lazy thread safe c#?

885


What are the different types of literals in c#?

1054


In gridview in editmode if we want to display information in one combobox based on

2307


How does aspect oriented programming work?

962


Which property do we set on a Combo Box to display data on it prior to setting the DataSource ?

948


State two different types of access modifiers.

1014


What is the difference between dll and lib?

1000


If a class derives from another class, will the derived class automatically contain all the public, protected, and internal members of the base class?

973


Perfect Example Of While And Do-While Loop In C#.Net ?

1001


Explain about Oops concept

958


Is system a class in c#?

931


What is form feed in c#?

963


What is local function?

950


Which is faster array or arraylist in c#?

916