adspace


what is the difference between finally and dispose methods?

Answer Posted / sunil

finally will execute after the try block. It must execute
if there is any exception caught in the catch blobk or not.

Dispose method is the last method executed in the c# program

Is This Answer Correct ?    12 Yes 16 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you inherit a class into other class in c#?

1004


Which namespaces are necessary to create a localized application?

1153


How to assign Null value to Var?

1078


What is an abstract class c#?

985


What is expression tree in c#?

1014


Why can't we use a static class instead of singleton?

968