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()