concept immutable list in category c#

appears as: n immutable list
Functional Programming in C#: How to write better C# code

This is an excerpt from Manning's book Functional Programming in C#: How to write better C# code.

The most effective way to prevent this is to create a copy of the list given to the constructor, and store its contents in an immutable list, for which we can use the ImmutableList type in the System.Collections.Immutable library:[4]

Think what this means in terms of decoupling: when you have an immutable list—and more generally, an immutable object—you can expose it without ever having to worry about what some other component will do to the data. There’s nothing they can do to the data at all!