Interview Question
Qus: What is Garbage Collection in .NET?
Garbage collection is done by the garbage collector (GC) which manages the allocation and release of memory. The garbage collector serves as an automatic memory manager. You do not need to know how to allocate and release memory or manage the lifetime of the objects that use that memory.
Answers (2)