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
Disable browser cache for entire ASP.NET website?
Can you change a Master Page dynamically at runtime?
What does occur first in ASP.Net, Authentication or Authorization?
Explain Areas in MVC?
Does asp.net still recognize the global.asa file?
What is application session?
Can a .net web application consume java web service?
What ports must be open for DCOM over a firewall? What is the purpose of Port 135?
How will you maintain versioning in asp.net 2.0?
Explain about Application and Session Events ?
What is the function used for removing an event listener?
What are sharepoint pages?
What are web beacons used for?
What is autopostback true?
What is redirectpermanent in asp.net?