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 |
Explain representational state transfer (rest) in detail?
Do you know about the new features in asp.net mvc 4 (asp.net mvc4)?
Will the finally block get executed if an exception has not occurred
What is Jit compilers?.how many are available in clr
What’s the advantage of using System.Text.StringBuilder over System.String?
what is VSS? Where we are using?
what are background threads? give ex?
if u add an import stmt to an application u can do the same by adding reference to the apllication then what is the diff bet these two ?
Which is the default http method for an action method?
what is ADO.NET
what is csdl?
What is objectset? : Entity framework