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
Can I add asp.net mvc testcases in visual studio express?
Is .net framework going away?
What is the 'page life cycle' of an ASP.NET MVC?
Which approach provides better support for test driven development - asp.net mvc or asp.net webforms?
How you can implement custom validation in asp.net MVC?
Explain the 'page lifecycle' of an ASP.NET MVC?
What are the advantages of asp.net mvc?
What is needed for running an application built on winfx on the .net framework 3.0?
how do you mark a property as required? For example, for a project, the name is a required field.
What is the difference between adding routes, to a webforms application and to an mvc application?
Explain the difference between viewbag and viewdata in mvc?
Mention two instances where routing is not implemented or required?
Explain RenderBody and RenderPage in ASP.Net MVC?
How can I return string result from action in asp.net mvc?
What is the use .glimpse in mvc?