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 we write return statement in finally block will it works
fine or throws any error?

Answer Posted / alb.shah

Answer Is NO. We cannot have return in finally block...
we get the following error.
Control cannot leave the body of a finally clause
returns void, a return keyword must not be followed by an
object expression

Is This Answer Correct ?    14 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between globalization and localization?

984


Explain the differences between managed and unmanaged code?

1051


How do you identify that the page is postback?

936


What are the server control tags in asp.net.?

1064


What is preprocessor in .net?

986


To wrap up a call to a Web service the standard used is..?

982


Tell me the code snippet to show how we can return 404 errors from HttpError?

1281


What is slidemaster?

942


What is the biggest disadvantage of “Other Return Types” in Web API?

1417


What is the importance of Global.asax in ASP.NET?

1150


Explain the benefits of viewstate?

1033


Is post back property in asp net?

1029


Explain the difference between overriding and overloading?

1002


What is application session?

973


Describe session handling in a webfarm?

1008