dotnet / dotnet/dotnet-api-docs

Object.Finalize Method – destructor is outdated naming

Open
#7,149 2 comments 0 reactions 0 assignees View on GitHub
area-System.Runtime Pri3 untriaged
Dominant language
C#
Stars
949
Forks
1.7k
Avg merge
3d 27m
Merged PRs (30d)
49

Description

At [Object.Finalize Method](https://docs.microsoft.com/en-us/dotnet/api/system.object.finalize?view=net-5.0) page is few times used term _destructor_ while it is considered stale in this context.

From [Finalizers (C# Programming Guide)](https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/classes-and-structs/destructors)
> Finalizers (historically referred to as destructors) are used to perform any necessary final clean-up when a class instance is being collected by the garbage collector.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.