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 / claivan

Finally block will not return any values as it gives
error "Control cannot leave the body of a finally clause".
The finally block is useful for cleaning up any resources
allocated in the try block.

Is This Answer Correct ?    13 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

List the different stages of a thread?

885


Why do we need events in c#?

980


Why do we need serialization?

914


What does executescalar return in c#?

897


What is the use of system.environment class in c#.net?

970


Does google use c#?

916


What do you mean by the delegate in c#?

912


What is a variable in c#?

921


Explain get and set accessor properties?

891


What are c# attributes and its significance?

953


What is the difference between read and readline in c#?

932


Why linq is having select clause at the end?

927


Do void methods have parameters?

968


What are data types in C#?

986


Difference between Value type & reference types ? and give the example in .Net?

942