0 votes
in Dot Net by
What is Garbage collection?

1 Answer

0 votes
by
Garbage collection is used to prevent memory leaks during execution of programs. There is a low-priority process name as garbage collector manages the allocation and deallocation a memory for applications. It also checks for the unreferenced variables and objects. If there is ny object which is no further used by application the Garbage collector frees up the memory from that object.

Related questions

0 votes
asked Oct 2, 2022 in Prometheus Percipio by rajeshsharma
+1 vote
asked Mar 5, 2021 in D Programming by SakshiSharma
...