Share via


GC Class

Controls the system garbage collector, a service that automatically reclaims unused computer memory.

Namespace: System
Assembly: mscorlib (in mscorlib.dll)

Syntax

public static class GC

Remarks

The methods in this class influence when an object is reclaimed by the system garbage collector and when resources allocated by an object are released.

Version Information

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, and 4.1.

See Also

Reference

GC Members
System Namespace