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

Is namespace a class?

838


Explain About Global.asax

917


How many static constructors are allowed in a class?

866


What is session variable in c#?

961


What does == mean in c sharp?

931


What is the use of private constructor in c#?

851


Why do we use generics in c#?

921


What is the function of the not null constraint?

893


What is the task perform by clr?

974


Explain clr in brief.

897


list the steps in code compilation in c#?

812


What is generic method in c#?

889


What is string [] args in c#?

909


Explain what a diffgram, and a good use for one Define diffgram? How it be used?

949


When should I throw an exception?

943