Garbage Collection

Watch the first few minutes on us! If you'd like to watch the entire video and hundreds more like it, download code samples, access offline videos and skills assessments, and use the discussion forums, log in or purchase a subscription.


Jeffrey Richter


The CLR manages the creation, lifetime, and destruction of all managed objects by way of the managed heap and its garbage collector. This video explains the many features offered by the GC, including the simplified programming model, the prevention of memory leaks, the prevention of memory corruption, the prevention of address space fragmentation, and how the GC can solve thread race conditions. It also addresses how to consume native resources from managed code correctly, and how to squeeze maximum performance out of the GC.

Table of Contents

{{toc.Position}} {{toc.Text}}

Related Links

  • {{link.LinkText}} (requires a paid subscription)


This course is part of the following series: