dotnet / docs

This repository contains .NET Documentation.
https://learn.microsoft.com/dotnet
Creative Commons Attribution 4.0 International
4.17k stars 5.83k forks source link

conflicting/incomplete messaging about concept's output/behaviour #25941

Closed harshvchawla closed 1 year ago

harshvchawla commented 2 years ago

The 2nd paragraph of the example section says

and generates an error when you assign to it.

however the example is showing an output (base class value is printed)

Should that be changed (or appended by something like "unless a base-class member can be accessed")?


Document Details

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

BillWagner commented 2 years ago

Thanks for noting this @harshvchawla

We'll get this addressed.