# Garbage Collection

say it: **“GAR-bij kuh-LEK-shun”** **/ˈɡɑːrbɪdʒ kəˈlɛkʃən/**

Automatic recovery of managed heap memory from objects a program can no longer reach.

## What is **Garbage Collection** in C#?

**Garbage Collection** — Automatic recovery of managed heap memory from objects a program can no longer reach.

Level: Master · [More C# terms at this level](https://www.ask-codey.com/glossary?category=c-sharp&level=5)

Updated: November 17, 2026

## In other subjects

- [Garbage collection in Git](https://www.ask-codey.com/glossary/garbage-collection-git)
- [Garbage Collection in Java](https://www.ask-codey.com/glossary/garbage-collection)
- [Garbage Collection in JavaScript](https://www.ask-codey.com/glossary/garbage-collection-javascript)

Source: https://www.ask-codey.com/glossary/garbage-collection-c-sharp
