|
|
|
|
|
by andix
171 days ago
|
|
Array also implements IReadOnlyList if I'm not mistaken. I think C# doesn't really have immutable collections, they just can be typecasted to IReadonly* to hide the mutable operations. But they can always be typecasted back to their mutable base implementation. The only real immutable collections I know of, are F#s linked lists. |
|
https://learn.microsoft.com/en-us/dotnet/api/system.collecti...