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 |
What is a SESSION and APPLICATION object?
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?
How do we sort the data from a dataset?
What are the modes of updation in an updatepanel?
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.
Using Statement usage in C#
What is the file extension of web service?
How use Xml data in ASP.net?
what is pagination in asp.net ?
How long should a session id be?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)