Pergunta de entrevista da empresa EPAM Systems

How does Garbage collector in .NET work?