What is the Difference B/W Finalize() and Dispose() in .Net?
Answer Posted / m.sivakumar
Dispose() is called by as an indication for an object to release any unmanaged resources it has held.
Finalize() is used for the same purpose as dispose however finalize doesn’t assure the garbage collection of an object.
Dispose() operates determinalistically due to which it is generally preferred.
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
In how many ways we can retrieve table records count?
Why do we use asp.net?
What is the difference between page-level caching and fragment caching?
Where viewstate value is stored in asp.net?
How Session use Cookies in State Management?
How to use ipostback?
Explain the different parts that constitute ASP.NET application?
Explain the difference between asp & asp.net.
Which object is used to encapsulate the state of the client and the browser in ASP.NET?
What are the data controls available in asp.net?
What is HTTPModule and HTTPcontext? What is the use of each?
What are the different validators in asp.net?
What is a user developed application?
Explain the disadvantages of viewstate?
Describe the difference between inline and code behind - which is best in a?