Updated C# and .NET docs supplement (markdown)
parent
f523795dc8
commit
e777786f6f
|
@ -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:
|
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
|
> AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||||
|
|
||||||
|
Contribute to [the official docs](https://github.com/dotnet/docs) if possible.
|
||||||
|
|
||||||
## Deceptive collection type names
|
## 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`.
|
`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`.
|
||||||
|
|
Loading…
Reference in New Issue