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
How do I publish my asp.net application to my isp's web server?
What are server-side comments in ASP.NET?
What is difference between abstract class and an interface?
Define what is razor? : asp.net mvc
Which object wraps the state or data of a user?
What are tuples?
Explain server side state management system.
Explain the Session state management options available with ASP.NET?
How do sessions work?
Describe SOA and the tenets of it?
Explain the steps needed to be performed in order to create an animation in xaml?
Differentiate the session object and application object?
What is session state server?
Can we have multiple web config files for an asp.net application?
In a webservice, need to display 10 rows from a table. Which is the best choice among datareader or dataset?