JPMorganChase interview question

Garbage collection in c# explain how it works