If we write return statement in finally block will it works
fine or throws any error?

Answer Posted / somnath nanekar

it throws an error....
but dont worry d c# users...
it dont allow u to write return in finally block......

Is This Answer Correct ?    11 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is entity graph? : Entity framework

713


In Server how to check whether model has error or not in ASP.Net MVC

855


What are Non Action methods in ASP.Net MVC?

787


What is entitycontainer? : Entity framework

769


What is html.renderpartial?

752


What is viewstart page in mvc?

765


How OS come to know whether to load the .net framework when we run an .exe created using .Net framework?

759


Do you know about the new features in asp.net mvc 4 (asp.net mvc4)?

780


When using razor views, do you have to take any special steps to protect your asp.net mvc application from cross site scripting (xss) attacks?

931


Which version of the common language runtime (clr) does the .net framework 3.0 use?

767


Explain the methods used to render the views in mvc?

766


Which .net framework is installed?

693


How we can call a JavaScript function on the change of a Dropdown List in ASP.Net MVC?

745


What is difference between html.beginform and ajax.beginform?

779


What is the domain object?

718