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


Please Help Members By Posting Answers For Below Questions

What is inheritance c#?

681


Can arraylist store different data types in c#?

674


What is difference between constants and readonly in c#?

741


Is linkedhashset synchronized?

820


Does c# replace c++?

803


What is c# windows form application?

697


What is the output of TextWriterTraceListener redirected?

750


What is remote data?

634


What is connection pooling in ado.net?

719


Ho we can see assembly information?

713


What is eager and lazy loading in c#?

646


What is cshtml extension?

697


What is the wildcard character in sql?

717


Will the following code compile?

745


How do I get deterministic finalization in c#?

801