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

1.what is the application pool. 2.what is the HttpModile and Http Handler. 3.C# 3.0 Features ? 4.Anonoymous Type,methopd and claas in 3.0? 5.difference between statsic and const ? 6.session vs application 7.state management clint side and server side ? 8.Genric list 9.c# 3.0 vs 3.5

1756


How will you load dynamic assembly?

532


Explain the difference between dataset and datareader.

527


Why would anyone need to implement their own hashtable or linked list?

2435


What r the asp.net list controls and diff. Between them?

501






Explain the working of passport authentication.

541


Where is the view state data stored?

568


What is scope of an application variable in asp.net?

490


How many types of validation are there?

521


What are the different types of Caching techniques in ASP.NET?

571


What is asp.net master page?

557


Explain global assembly cache.

567


What are the media types of http requests and response?

508


What is the purpose of master page?

512


Explain the difference between overriding and overloading?

540