The .NET Garbage Collector
In this course module, we'll take a closer look at the .NET garbage collector.
Lesson Preview
We introduce the concept of automatic memory management in .NET, contrasting it with manual C/C++ allocation and the pitfalls of reference counting used in COM. The lesson explains why the garbage collector was added to the C# language, and why modern garbage collector performance rivals hand-optimized C code.