adspace


what is the difference between finally and dispose methods?

Answer Posted / m.m.ganesh

compulsory finally will execute after try and catch
block.Dispose method is used to clean up the
objects.Dispose methos will call in finally method to clean
up the objects

Is This Answer Correct ?    6 Yes 19 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


What is expression tree in c#?

1014


What is an abstract class c#?

985


How to assign Null value to Var?

1078


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

968