© Roger Villela 2020
R. VillelaPro .NET 5 Custom Librarieshttps://doi.org/10.1007/978-1-4842-6391-4_5

5. Finalizer Method: The .NET Special Member

Roger Villela1  
(1)
Sao Paulo, São Paulo, Brazil
 

This chapter covers special members that a .NET custom data type should implement.

Special Members

Previous chapters discussed methods that we should override (or not) for our .NET custom data types. This section examines internal aspects of members that are not so “special” from a Control Language Runtime (CLR) Virtual Execution System (VES) perspective, as we have with a constructor. This chapter focuses specifically on destructors.

Special Member Destructor

Like constructors, destructors are also special members for the CLR VES and managed platform as a whole, ...

Get Pro .NET 5 Custom Libraries: Implementing Custom .NET Data Types now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.