-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Closed
Labels
dotnet-csharp/svcfundamentals/subsvchelp wantedGood for community contributors to help [up-for-grabs]Good for community contributors to help [up-for-grabs]
Description
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.
- ID: 322a60f9-0bd8-b432-653a-069c477a93fe
- Version Independent ID: dbc29edd-b142-f2d7-4824-dec9951f32c7
- Content: Using Properties - C# Programming Guide
- Content Source: docs/csharp/programming-guide/classes-and-structs/using-properties.md
- Product: dotnet-csharp
- Technology: csharp-fundamentals
- GitHub Login: @BillWagner
- Microsoft Alias: wiwagn
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
dotnet-csharp/svcfundamentals/subsvchelp wantedGood for community contributors to help [up-for-grabs]Good for community contributors to help [up-for-grabs]