Difference between Dispose and Finalize method
Answer / 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 |
When was the first version of .NET released
What are Resource Files ? How are they used in .NET
what is mean by type-safe? Please answer me. Advance thanks.
What is RouteConfig.cs in ASP.Net MVC 4?
What is the difference between model view and controller?
What is strong name?
will there be any issues adding a table without primary keys to a data model?
Is the lack of deterministic destruction in .NET a problem
Can you explain renderbody and renderpage in mvc?
What are actions in asp.net mvc?
Is mvc 4 supporting windows azure sdk (software development kit) ?
How to answer for project questions..?