Skip to content
Search

System.IDisposable

lastmod 2023-04-10created 2023-04-103 edits

Event called when the GC frees memory

Example

public class TestClass : IDisposable
{
    public void Dispose()
    {
        Console.WriteLine("Dispose");
    }
}

See also

Favorite site

author Zer0 sitemap