Finalize Method
- Last UpdatedApr 08, 2026
- 1 minute read
Use C# destructor syntax for finalization code.
This destructor will run only if the Dispose method
does not get called.
It gives your base class the opportunity to finalize.
Do not provide destructors in types derived from this class.