Search notes:

.NET: Garbage collector

The garbage collector is one of the main components of the Common Language Runtime: it controls how managed memory is allocated and when it is released.
Some aspects of the garbage collector can be controlled by the System.GC class which also provides information such as the total amount of memory that is available in a system.

See also

The method Alloc of the class System.Runtime.InteropServices.GCHandle prevents an object from being collected by the garbage collector.
System.IDisposable

Index