Interviews2 answers
How many method is there to remove unreachable object from memory?
2 Answers
Dispose() Finalize() and Gc.collect()
Munesh SharmaPosted May 30, 2016, 8:43 PM EDT
There is 3 types of methods which is used to remove the unreachable object from memory . And these methods are:
Dispose()
Finalize() and
Gc.collect()
Sandeep KumarPosted Dec 21, 2015, 9:57 AM EST

