Search notes:

System.GC (class)

System.GC controls the garbage collector.

Methods and properties

AddMemoryPressure()
AllocateArray()
AllocateUninitializedArray()
CancelFullGCNotification()
Collect() Forces garbage collection
CollectionCount()
EndNoGCRegion()
GetAllocatedBytesForCurrentThread()
GetGCMemoryInfo()
GetGeneration()
GetTotalAllocatedBytes() Returns the number of bytes currently thought to be allocated.
GetTotalMemory()
KeepAlive()
MaxGeneration
RegisterForFullGCNotification()
RemoveMemoryPressure()
ReRegisterForFinalize()
SuppressFinalize()
TryStartNoGCRegion()
WaitForFullGCApproach()
WaitForFullGCComplete()
WaitForPendingFinalizers() Suspends the current thread until the thread that is processing the queue of finalizers has emptied that queue.

Index