What is the Difference B/W Finalize() and Dispose() in .Net?
Answer Posted / rahupathi
Finalize and dispose are used to clean the objects from
memory. But Finalize will be called based on the GC. If you
finalize any object that will be moved to Finalize queaue.
When the time of the round trip of the GC. It will remove
the objects from Finlize queaue.So,it will not destroy the
object immediately. Unless dispose method will remove the
object immediatley without considering the GC.
Is This Answer Correct ? | 16 Yes | 3 No |
Post New Answer View All Answers
What is the difference between Session and response.Redirect?
We are using Jscriopt validations and at clint site javascript is not running that time validation would work? if yes then how it would behave?
Give some salient points of difference between request processor and request dispatcher.
What is cookies in asp net?
What is caching? What are different ways of caching in asp.net?
What is httpresponse?
Explain how can we inherit a static variable?
3. What goals do you have in your career?
How do u deploy ur project?
Define machine.config in .net?
Explain diff. Between friend and protected friend?
What are the advantages of using session?
What I need to create and run an asp.net application?
Do I need to have the latest version of windows media player installed?
Suppose you want an asp.net function (client side) executed on the mouseover event of a button. Where do you add an event handler?