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 we can handle the exception at controller level in ASP.Net MVC?
What's the .NET class that allows the retrieval of a data element using a unique key
What are delegates?where are they used
Explain what is the difference between view and partial view?
What are authentication filters in web api?
what is the three pillar of .Net ?
Is CLR is compiler or Interpreter
What is the greatest advantage of using asp.net mvc over asp.net webforms?
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?
Explain how you can implement Ajax in MVC?
Is it possible to combine asp.net webforms and asp.mvc and develop a single web application?
what is .net?