in C Sharp by
Q:
What is the difference between “dispose” and “finalize” variables in C#?

1 Answer

0 votes
by
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 Loan/Mortgage
Click here to read more about Insurance

Related questions

0 votes
asked May 6, 2020 in C Sharp by SakshiSharma
0 votes
asked Oct 18, 2019 in C Sharp by Robin
0 votes
asked Jan 13, 2020 in Big Data | Hadoop by AdilsonLima
0 votes
asked Jun 16, 2020 in C Sharp by Hodge
0 votes
asked Oct 18, 2019 in C Sharp by Robin
...