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
What is the usage of transponders?
How to exclude a property from xml serialization?
Can a class have multiple constructors c#?
Describe the ways of cleaning up objects in c#.
Why do we need constructor in c#?
What are the different states of a thread?
What is the difference between array and arraylist in c#?
Difference between a sub and a function in c#.
What is the difference between values and reference types?
What is assembly c#?
What is polymorphism in c sharp?
List the fundamental oop concepts?
What is gridview c#?
What is difference between the "throw" and "throw ex" in .net?
What is difference between int and int in c#?