Module 5 · The Garbage Collector · Lesson 16 of 23
How the .NET Garbage Collector Works: Roots, Marking, Compaction and Generations
This lesson comes with Full Access
Its text, video and cheat sheet open with Full Access.
No more free lessons in this course.
Practice
Practice test: Practice: How the .NET Garbage Collector Works: Roots, Marking, Compaction and Generations10 questions · 1 mark each, no negative markingFull Access
Take the testChecked before publishing: C# examples run on .NET 10, links opened, reviewed while it was written and read in full. How lessons are checked
Updated 1 Dec 2026 ·