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
Difference between web user control and web custom control?
Explain method to handle error using HttpError in Web API?
what are the Custom controls in asp.net?
What is advantage of asp.net?
What is odata in web api?
Explain the difference between server.transfer and response.redirect? Why would I choose one over the other?
To load your generated dataset with data which method do you invoke?
What is difference between session and application in asp net?
Is global asax mandatory?
Describe the method to create a permanent cookie?
What is AutoPostback?
What is .net framework and what are the main components of it?
What is base class of button control in .net?
Why do we need a web application session?
What are type/key pairs in client script registration? Can there be 2 scripts with the same type/key pair name?