adspace


What is the use of finalize and dispose eventhough garbage
collector is working?

Answer Posted / chaitanya

It is advisable not to use the finalize and Dispose
methods,because garbage collector takes Care of the objects
that Should be Disposed.We should use Finalise and Dispose
methods when working with resources in the network or
working with the unmanaged code.

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to use multiple submit buttons in asp.net mvc?

1318


Possible ways to prevent xss attacks on mvc application?

1092


Explain the request flow in asp.net mvc framework?

1102