I was reading some entries in Eric Lippert’s blog about immutable data structures and I got to thinking, why doesn’t C# have this built into the standard libraries? It seems strange for something with obvious reuse to not be already implemented out of the box.
EDIT: I feel I might be misunderstood on my question. I’m not asking how to implement one in C#, I’m asking why some of the basic data structures (Stack, Queue, etc.) aren’t already available as immutable variants.
I’ll quote from that Eric Lippert blog that you’ve been reading:
In other words, there is no reason other than it hasn’t been high enough value or priority to get done ahead of all the other things they’re working on.