Site icon Learn Web Development & Programming, Artificial Intelligence, WordPress, Shopify Articles

Garbage Collection in dot net

In this chapter, we are going to cover the conception of Garbage collection that is one most vital options of the .NET managed code platform. the Garbage collector (GC) manages the allocation and release of memory. the Garbage collector serves as an automatic memory manager.

Advantages of Garbage collection

Garbage Collection provides the following advantages −

Conditions for Garbage collection

Garbage collection happens when one of the following conditions is true.

Exit mobile version