Forces garbage collection.

Overload List
|
Name
|
Description
|
|
GC.Collect ()
|
Forces garbage collection of all generations.
Supported by the .NET Compact Framework.
|
|
GC.Collect (Int32)
|
Forces garbage collection from generation zero through a specified generation.
|

See Also