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?



If we write return statement in finally block will it works fine or throws any error?..

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

More ASP.NET Interview Questions

What is a SESSION and APPLICATION object?

0 Answers  


What are the major differences between asp.net1.1 and asp.net 2.0?

8 Answers   CTS, Deloitte, Mphasis, Vison,


Explain the difference between panel and groupbox classes using .net?

0 Answers  


How do we sort the data from a dataset?

0 Answers  


What are the modes of updation in an updatepanel?

0 Answers  


can we transfer data from one page to another page using viewstate if so how?if not y?

37 Answers   AppShark, DataSync, Gtech, iGate, Wipro,


Explain the difference between the web config and machine config.

0 Answers  


Using Statement usage in C#

2 Answers  


What is the file extension of web service?

0 Answers  


How use Xml data in ASP.net?

0 Answers   MCN Solutions,


what is pagination in asp.net ?

1 Answers   Netsweeper,


How long should a session id be?

0 Answers  


Categories