If I have code like
try
{
return;
}
catch
{
return;
}
finally
{
return;
}
from which block will the value will be returned. and try
has been executed without any error.
Answer Posted / djay
//compile time error control can not leave the body of a finally block
| Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
Explain About stateless and state full web service
Describe the parts of assembly.
Why cannot you specify the accessibility modifier for methods inside the interface?
Why References are stored on heap and variables on stack?
Can a class be private in c#?
Howmany five tracing levels in System.Diagnostics.TraceSwitcher? Why they are using?
Can we make a Static Constructor Parameterized? Give Reason with your answer
How do you encapsulate in c#?
Explain the three services model (three-tier application). Presentation (ui), business (logic and underlying code) and data (from storage or other sources).
What is the use of 'using' statement in c#?
Explain About namespaces
What is autopostback in c#?
How assembly versioning in .NET prevent DLL Hell problem?
Is it not possible to store a boolean value as a variable?
What is a datacontract?