The problem with public data is that the data itself has no ability to “understand” whether the current value to which they are assigned is valid with regard to the current business rules of the system.
- Chapter 5: Understanding Encapsulation
- from Pro C# 5.0 and the .NET 4.5 Framework, Sixth Edition
- Publisher: Apress
- Released: August 2012
Most concise explanation for the necessity of encapsulation.
Share this highlighthttp://learning.oreilly.com/a/pro-c-50/68/