Export (0) Print
Expand All
0 out of 1 rated this helpful - Rate this topic

GC.Collect Method

Forces garbage collection.
Name Description
GC.Collect () Forces an immediate garbage collection of all generations.

Supported by the .NET Compact Framework.

GC.Collect (Int32) Forces an immediate garbage collection from generation zero through a specified generation.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.