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
Tell me the difference between value passing and address passing?
What is ienumerable t in c#?
Can we overload indexer in c#?
Define clr in .net?
What is serialization in dot net?
How Global.asax is used ?
What does ienumerable mean?
What is the use of the dispose method in C# ?
Can constructor be overloaded in c#?
What is the default scope of a class in c#?
Explain nullable types in c#?
What is the difference between finally and finalize block?
What tool we have to use to install assembli in gac folder.
How does a while loop work?
What is a variable in c#?