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
What is strong-typing versus weak-typing?
Which object encapsulates state or data of a user?
Explain the use of duration attribute of @outputcache page directive.
Describe the .net base class library.
Explain the concept of View Model in MVC?
In What Order Do The Events Of An Aspx Page Execute. As A Developer Is It Important To Undertsand These Events?
Define application state variable and session state variable?
What are Master Pages in ASP.NET? or What is a Master Page?
What is a 401 redirect?
What is a postback url?
Explain diff. Between friend and protected friend?
what is command line compiler.what are the steps and how it is related to debugging.
What is caching? What are different ways of caching in asp.net?
Define what is razor? : asp.net mvc
What are the HTML server controls in ASP.NET?