Functional Programming, Csharp, Programming.
on the object returns a new object with the desired modifications. There are some benefits for an object to be immutable: predictability. a fixed state, makes it easier to reason about the behavior concurrency. since immutable objects cannot be modified after creation, they are inherently