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 difference between globalization and localization?
Explain the differences between managed and unmanaged code?
How do you identify that the page is postback?
What are the server control tags in asp.net.?
What is preprocessor in .net?
To wrap up a call to a Web service the standard used is..?
Tell me the code snippet to show how we can return 404 errors from HttpError?
What is slidemaster?
What is the biggest disadvantage of “Other Return Types” in Web API?
What is the importance of Global.asax in ASP.NET?
Explain the benefits of viewstate?
Is post back property in asp net?
Explain the difference between overriding and overloading?
What is application session?
Describe session handling in a webfarm?