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
Which is better viewstate or session?
What is a 401 redirect?
What are the different types of Caching techniques in ASP.NET?
Differentiate between structure and class.
What are the disadvantages of view state?
What is full form of asp.net?
Is it possible to migrate visual interdev design-time controls to asp.net?
Explain the various authentication mechanisms in asp.net.
Take a Large textbox allow to type any data. Task 1:display the count of vowels in a lable on key press event of the textbox Task 2:dispaly count of dates in a lable when dates in following foramats:dd/mm/yy , mm/dd/yy , yy/mm/dd. Task3:compare 2 dates and display both are same or not which dates are in dd/mm/yy and mm/dd/yy farmats.
Explain asp.net mvc request life cycle? : asp.net mvc
What is rending process in ASP.NET?
If you are using two select queries and retrieving data. how do you access second query's result set using data reader?
What is the difference between abstract class vs interface? Can give me the real time examples?
Why is string called immutable data type?
Explain exception filters?