Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
Assembly: System.Core (in System.Core.dll)
Windows 7, Windows Vista, Windows Server 2008 R2, Windows Server 2008
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.