Updated C# and .NET docs supplement (markdown)

James Groom 2023-03-09 23:45:46 +10:00
parent f523795dc8
commit e777786f6f
1 changed files with 2 additions and 0 deletions

@ -1,6 +1,8 @@
To save us repeating our complaints about the lack of proper documentation under each section, let's agree to gather all the frustration here:
> AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
Contribute to [the official docs](https://github.com/dotnet/docs) if possible.
## Deceptive collection type names
`IReadOnly{Collection,Dictionary,List,Set}` are for getting read-only views of the collections that implement them. They do not mean the collection is immutable (there are [separate classes](https://learn.microsoft.com/en-us/dotnet/api/system.collections.immutable?view=net-6.0) for that). The same goes for `ReadOnlySpan`.