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 an inheritance ?Give an example in which inheritance is used?

1047


what are the contents of an assembly ?

997


What is datasource c#?

908


What is the correct way of declaring an xml namespace?

828


What is the use of the dispose method in C# ?

978


Is python easier than c#?

951


What is difference between array and collection in c#?

888


Differentiate between method overriding from method overloading with its functionality?

1035


What is ildasm and obfuscator in net?

961


What does immutable mean in c#?

963


Define clr in .net?

1009


What are native functions?

878


Difference between StackPanel and RelativePanel ?

1032


What is var c#?

1010


What is strong name assembly?

880