Skip to main content
This is lesson 1 of 7 in this module Course 55% complete

Introducing Garbage Collection (GC)

Premium Content

Sign in with your account or sign up to access this lesson.

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.