What is the Difference B/W Finalize() and Dispose() in .Net?
Answer Posted / vivek jagga
The GC call the Finalize() function automatically to destroy
the object called implicit destroy. when you want to destroy
a objects that you think no longer need and free it from
memory, then we will use the dispose function. For better
performance we will use the dispose function explicitly.
| Is This Answer Correct ? | 21 Yes | 5 No |
Post New Answer View All Answers
Why is an object pool required?
Is asp.net a programming language?
What is the purpose of master page?
Can asp.net work on an nt server?
How to communicate via Remote proxy with Client? a)MarshalByRef b)Marshal by Value or Any thing else?
Explain the page lifecycle of an asp.net mvc? : asp.net mvc
What is cached data phone?
What is difference between Fragment Caching and Page Caching in ASP.NET?
Does google crawl redirects?
What is an axd file?
Give a few examples of page life cycle events.
What a diffgram is, and a good use for one?
Explain the difference between response.redirect vs server.transfer
Is asp.net and .net are same or different?
Where code pages are used?