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 .NET Micro Framework version 2.0, 2.5

See Also

Reference

GC Members
System Namespace