Skip to content

Confusing "implement a Close method" #12957

Description

@Wallby

Describe the issue or suggestion

On the Object.Finalize page. The "How finalization works" section mentions Close, capitalized and in a code format. If I understand correctly, from the Essential C# book. A close function means any method that manually frees resources. This is not a special type of method, a language feature. Merely suggested style (whether that is strictly enforced like PowerShell verbs, or not).

As this is a significant part of .NET, making it clear what is meant here could be improved. As is, the very verbose writing style without any further explanation, makes it seem like something it is not?


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

  • ID: e7082f23-745f-cf11-4e8a-640495328ec1
  • Version Independent ID: e7082f23-745f-cf11-4e8a-640495328ec1
  • Platform ID: 0a4aa0f1-db33-0b9d-1de0-34304b5deb48
  • Content: Object.Finalize Method (System)
  • Content Source: xml/System/Object.xml
  • Service: dotnet-api
  • Sub-service: system
  • GitHub Login: @dotnet-bot
  • Microsoft Alias: dotnetcontent

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions