Skip to content

Wording in "When a class or struct is created" #29414

@Beechside

Description

@Beechside

You say: "When a class or struct is created" but I have a problem with the word "created". The class is created when defined, just as a blueprint is created when it is drawn. The class exists at that point with or without instantiation but that is not when a constructor is run. Unless "created" has a very specific meaning, should you use "instantiated"?

An Instance Constructor is run when a class is instantiated, unless there is something else in the chain of events that makes creation different from instantiation.

Best wishes,

Pete Morris


Document Details

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions