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 .net and c# the same?

1027


How do I create a multilanguage, single-file assembly?

968


Is Multiple-inheritance supported by c#?

1034


Explain what are three test cases you should go through in unit testing?

994


What is string in c# net?

962


Explain manifest & metadata in c#.

1060


Is c# int immutable?

964


What is the c# equivalent of c++ catch (...), Which was a catch-all statement for any possible exception?

1045


Are attributes inherited c#?

923


What is inumerable?

1111


What is the difference between mobile application and desktop application?

943


Explain About web methods and its various attributes

1038


Where do we set the min and max pool size for connection pooling?

1015


What is the use of xmlserializer?

909


What are the benefits of using the aggregate method in linq?

1060