Skip to content

Small correction #32085

Closed
Closed
@syntaxartisan

Description

@syntaxartisan

I recommend updating the statement "the code block for the set accessor is executed when the property is assigned a new value" to remove the word "new". I interpret that to mean that the set accessor is only called if the value that's being provided is different than the value that the property currently contains. Of course that isn't true--the set accessor is called regardless of whether the value provided is a new value. It could just be semantics but that's how I interpret it.


Document Details

Do not edit this section. It is required for learn.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