If we write a goto or a return statement in try and catch
block will the finally block execute?
Answer Posted / kranthi
Yes..irrespecitve of writing goto or return or exception
occured, finally block will execute.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is Named parameter in C#?
What can you do as a .net developer?
Can abstract class be instantiated c#?
Is c# code is unmanaged or managed code?
Does the system.exception class have any cool features?
Illustrate namespaces in c#?
What do you mean by “finalize” and “finally” methods in c#?
Explain how to add controls dynamically to the form using c#.net.
What is the difference between dispose() and finalize() methods in c#?
Why do we overload constructors?
What is assembly manifest?
Can a constructor have a return type?
Explain the difference between a namespace and assembly name in .net?
What is meant by enumerable in c#?
What is the difference between firstordefault and singleordefault?