What is the Difference B/W Finalize() and Dispose() in .Net?

Answer Posted / prasanna

.NET provides "finalize" method in which clean up our
resources.but this is always not good so the best is to
implement interface and implement the "Dispose" method
where you can put your clean up routines

Is This Answer Correct ?    23 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is asp.net and .net same?

533


What is GAC in ASP.NET 2.0

579


What does the .webpart file do?

579


Which dll handles the request of .aspx page?

554


How information about the user's locale can be accessed?

577






what are the security certificates used in webservices?

1495


What are the authentication types in asp.net?

566


What are the namespace classes used in asp.net mvc? : asp.net mvc

536


Suppose You Want A Certain Asp.net Function Executed On Mouseover For A Certain Button. Where Do You Add An Event Handler?

640


Why is asp.net so popular?

507


What is inproc and outproc?

518


What are the different types of cookies in asp.net?

516


Explain difference between dataset and datareader?

597


What are cookies in your browser?

525


Define page fragment caching?

512