Answer Posted / kirti
Finalize method is used to free the memory used by some unmanaged resources like window handles (HWND). It's similar to the destructor syntax in C#. The GC calls this method when it founds no more references to the object. But, In some cases we may need release the memory used by the resources explicitely.To release the memory explicitly we need to implement the Dispose method of IDisposable interface.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What operating systems will the .net framework 3.0 be available for?
Explain what is the difference between view and partial view?
What are the 2 ways of adding constraints to a route?
What are ajax helpers in asp.net mvc?
What is Area in ASP.Net MVC?
what is split entity?
What is the advantage of using asp.net routing?
What are Code Blocks in Views?
Explain the advantage of packaging over xcopy in .net?
Does razor engine supports for tdd?
Is .net framework dead?
Can you please explain the request flow in ASP.NET MVC framework?
What is razor code?
What is .net core framework?
What is net framework 3.0 ?