Categories

Oct 18, 2019 in C Sharp (C#)
Q: What is the difference between “dispose” and “finalize” variables in C#?

1 Answer

Oct 18, 2019
Dispose - This method uses interface – “IDisposable” interface and it will free up both managed and unmanaged codes like – database connection, files etc.

Finalize - This method is called internally unlike Dispose method which is called explicitly. It is called by garbage collector and can’t be called from the code.
Click here to read more about C Sharp
Click here to read more about Insurance

Related questions

Madanswer
May 6 in C Sharp (C#)
Oct 18, 2019 in C Sharp (C#)
Jan 13 in Big Data | Hadoop
...