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 two instances where routing is not implemented or required?
What are the 3 main components of an asp.net mvc application?
What is entity graph? : Entity framework
When using razor views, do you have to take any special steps to protect your asp.net mvc application from cross site scripting (xss) attacks?
How to change the action name in mvc?
Can I customise the serialization process
What type of filter does outputcacheattribute class represents?
What is the use of trace utility ?
Can you explain renderbody and renderpage in asp.net mvc?
What is the use of web api ? Why web api needed, if you have already restful services using wcf ?
What is the difference between Finalize and Dispose (Garbage collection)
What is Jit compilers?.how many are available in clr