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 |
How would you deploy your old applications with .net framework 4.0? Are the old applications compatible?
what is way of loading data in ef (entity framework)?
What is definingquery in entity framework? : Entity framework
What is stateless model?
can i change web.config settings from iis?
1 Answers HCL, ReadySoft, Wipro,
Where is tempdata stored?
What is the difference between STA and MTA?
What is Partial Assembly References?
What is the .net framework?
How to ensure the credentials for WebService using Windows authentication
What are Action Filters in ASP.NET MVC and its use?
What is boxing and unboxing?