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 the top reason to use c# language?
What is property c#?
What is readline c#?
Explain the difference between arraylist and array and in c#?
Is std :: string null terminated?
Can arraylist hold primitive types?
What is the meaning of MSIL?
Define property in c#.net?
Can we inherit sealed class in c#?
What is meant by generics in c#?
What is console used for?
What is a multicast c# delegate?
Does c# support const methods, properties, or events?
What is _layout cshtml?
What is the main method in c#?