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 are the types of comments in c#?
Does c# do array bounds checking?
How to get the sum of last 3 items in a list using lambda expressions?
what is the purpose of using statement in c#
What is whitespace in c#?
What is difference between virtual and override in c#?
What is class method c#?
What do you mean by a windows process in regards to memory allocation?
What is c# windows form application?
What is disconnected data architecture in c#?
if a method is marked as protected internal who can access it?
How many types of serialization are there in c#?
Why is c# better than java?
What is overloading with example?
Define multicast delegate? How it be used?