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 two catch blocks be executed?

Answer Posted / awadhesh

For a given set of try catch only one exception block will
get executed. Notice in finally what you are having is a
new set of try catch statements. They are unrelated to the
one above , so it is wrong to say here that two catch
blocks were executed.

Is This Answer Correct ?    8 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a string c#?

855


What is monitor in C#?

964


What are different types of classes in c#?

850


What is the full form of GAC? Explain its uses?

940


How to get the sum of last 3 items in a list using lambda expressions?

890


What is the use of 'as' Keyword in C# ?

965


Explain About delegates

972


Is c# used for frontend or backend?

1005


Is list ienumerable c#?

950


Why dictionary is used in c#?

906


Why to use “finally” block in c#?

1029


What is concrete class in c# with example?

898


What is the use of dll file in c#?

839


What are custom exceptions?

864


What is a protected class c#?

840