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

If I have code like
try
{
return;
}
catch
{
return;
}
finally
{
return;
}

from which block will the value will be returned. and try
has been executed without any error.

Answer Posted / prajaktaa

In this scenario, the whole try block will get executed and
control will then be passed to finally block.
But an error come while executing finally block that Cannot
exit from finally block and execution gets stucks.

Is This Answer Correct ?    11 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the types of parameters in c#?

987


Why we use dll in c#?

965


What is a base class in C#?

961


Is .net and c# the same?

984


What is difference between events and delegates?

942


Why we use get and set method in c#?

955


How does array sort work?

906


Why is c# used?

926


Explain when should you call the garbage collector in .net?

916


From a versioning perspective, what are the drawbacks of extending an interface as opposed to extending a class?

963


How do you create user defined data types in c#?

1011


What is the use of convert toint32 in c#?

978


What are the steps to create an assembly and add it to the gac?

888


What is a float?

914


What is double c#?

949