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 |
Which is the best institute in hyderabad to learn DotNet?
152 Answers Cygnet Infotech, Infosys, Student, SVIT, TCS,
What are Satellite Assemblies? How you will create this?
What is the difference between renderaction and renderpartial?
Why is the .net framework 3.0 a major version number of the .net framework if it uses the .net framework 2.0 runtime and compiler?
what is Assemble
What is difference between shared and public
what is minimum requirement for entity framework applications to run?
What is CLR and how it generates native code ?
1 Answers Digital GlobalSoft, Vital Soft,
Which is the institute which also caters to your personal development other than subject.
What is razor code?
Difference between int and int32
mention in what all scenarios entity framework can be applicable?