[Solved] What is the point of encapsulation? [closed]
In many cases you are right – small programs doesn’t need encapsulation probably. Some MS infrastructures (C#/WPF I think in several binding scenarios) requires encapsulation (using properties) and will not work without it. If you do more in get / set than changing the value or returning it – it will make your code nicer … Read more