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
Describe session handling in a webfarm?
Explain the asp.net page life cycle.
I’m having some trouble with cas. How can I diagnose my problem?
What is the difference between union and join?
How does a content page different from a master page?
How do I create a web form?
What is OSI layer? Explain different layers.
Differentiate between a hyperlink control and a linkbutton control.
How can you debug your.net application?
Do you know using sql cache invalidation?
How to integrate angular 8 with asp.net mvc 5? : Asp.Net MVC
Define satellite assemblies.
What are the differences between application object and session object?
What’s the difference between response .redirect and server.transfer?
What is slidemaster?