Pregunta de entrevista de EPAM Systems

How does Garbage collector in .NET work?