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
What is the use of the tag in the web.config file?
Out of ASP or ASP.NET which one is stateless?
What do you understand from custom control?
Explain the difference between authentication and authorization.
Can we create a multiple user simultaneously ?
What is simple data binding?
What is preprocessor in .net and type, where it use?
Where are session variables stored?
Is web config mandatory?
What is _dopostback in asp net?
Differentiate between early binding and late binding.
Do gac'ed assemblies have fulltrust?
Explain difference between friend and protected friend?
What is diff. Between abstract class and an interface?
Is it possible to create web application with both webforms and mvc?