If we write a goto or a return statement in try and catch
block will the finally block execute?

Answer Posted / guest

yes, whatever may be the content of the try-catch blocks,
the finally block is going to execute

Is This Answer Correct ?    11 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is variable in c#?

729


Describe ways of cleaning up objects in c#.

686


What is the symbol used for in c#?

688


What is append in c#?

642


What is difference between constants and read-only?

647


How the versioning applies to Assemblies or can you explain version numbers?

807


Is c# still popular?

661


In a single .NET DLL how many classes it contains?

709


Explain about multithreading?

751


Can a class have static constructor?

743


What is thread life cycle in c#?

685


Can we have multiple threads in one app domain?

705


Can abstract class be sealed in c#?

655


What is using keyword in C#?

786


Difference between debug.write and trace.write?

736