Immutable Data Structures in C# and .NET
Immutable objects – aka objects whose properties and fields can’t change after instantiation – are one of the fundamental pillars of functional programming. Yet, it also has other great uses in classically object-oriented languages such as C#. Immutability can help make your code cleaner, easier to reason about, and reduce …