Interviews1 answer
Explain the garbage collection in .NET ?
1 Answer
Garbage collection is a CLR feature which automatically manages memory. CLR automatically releases objects when they are no longer used and referenced. Following methods are used for garbage collection –
GC.Collect()
Dispose()
Finalize()
Subhashkumar YadavPosted Dec 29, 2016, 8:06 PM EST
