What Is Garbage Collector ?

user image

Muskan Anand

2 years ago

Garbage collection consists of the following steps: The garbage collector searches for managed objects that are referenced in managed code. The garbage collector attempts to finalize objects that are not referenced. The garbage collector frees objects that are not referenced and reclaims their memory.

Recent Doubts

Close [x]