What is Garbage Collection in .Net and what is the Garbage
collection process?

Answer Posted / gh

Garbage Collector is a process of releasing the memory used
by the objects, which are no longer referenced.
Programmatically Invoking the Garbage Collector by using
GC.Collect () method which is from System.GC class.

Is This Answer Correct ?    6 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why you want to leave your previous company.

1585


What is your observations between vb.net and vc#.net?

530


Is .net 4.8 backwards compatible?

536


What is the need of OLE-automation?

633


Explain the difference between .net 2000 and .net 2005(features)? Which one is better?

560






How to use datagrid value in select statements where condition ,if cell is hyperlink bounded column?

522


What is the difference between an abstract class and an interface?

503


Explain the differences between server-side code and client-side code.

562


What is delegation in .net?

604


Do you know what are three common acronyms used in .net, and what do they stand for?

557


Why did they call it .net?

588


Do you know what is garbage collector?

568


What is Full trust permission set in .Net

1905


How com+ related to the dna architecture?

581


Do I have any control over the garbage collection algorithm?

549