Functional Programming, Csharp, Programming.
{ get; } public void ChangeName(string newName) { Name = newName; } } Even though it does not have a public set, we need to investigate all class behaviors, to make sure none of the methods mutate its state. Ideally, ChangeName() should return a new User object. With a graph of objects, it is even