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 |
will there be any issues adding a table without primary keys to a data model?
How you deploy .NET assemblies
What is layout in mvc?
How can you prevent your class to be inherated further
what is a round trip?What is a postback?
Where is the new functionality in the .net framework 3.0 (such as wcf, wf, wpf, and cardspace) installed to? Is that different from where the .net framework 2.0 is installed to?
Does .NET Framework support SAX?
What is namespace used for loading assemblies at run time and name the methods?
What is "out" parameter how it is used in methods?
What is CLR? How it will work?
Mention what is the difference between “ActionResult” and “ViewResult” ?
What is edm designer? : Entity framework