Garbage collection in C#
7 posts4 contributors
Articles about Garbage collection in C#

CLR (Common Language Runtime) in C#
Learn how the Common Language Runtime works in C#, including JIT compilation, garbage collection, memory management, exception handling, type safety, and threading.

Understanding Garbage Collection
Garbage Collection in C# automatically manages memory by clearing expired objects. It uses generations (Gen 0, 1, 2) for optimization. Dispose and Finalize handle resource cleanup, preventing memory leaks and enhancing performance.

Demystify Garbage Collection in C#: Part 4
Here you will learn one very important concept of garbage collection called “Finalize dispose pattern”.

Demystify Garbage Collection in C#: Part 5
In this article we will see how the Garbage Collection algorithm works. We will next see how to implement a weak reference to optimize performance.

Demystify Garbage Collection in C#: Part 3
Today we will clarify one fundamental idea of Garbage Collection. The idea is that a destructor is nothing but a finally block in C# and the finally block is always used to clean up resources.

Demystify Garbage Collection in C#: Part 1
In this series of article we will try to learn few general concept of garbage collection in C#.NET. And in upcoming article we will dig in dipper and try to learn few behind the screen concept.

Garbage Collection in .NET
This article will describe about Garbage Collection. Garbage collection in Microsoft .NET common language runtime environment completely absolves the developer from tracking memory usage and knowing when to free memory.





