Why do you use Private fields in a class if an outside class can change the private fields using get and set properties?
iConqueror 27 Junior Poster
deceptikon 1,790 Code Sniper Team Colleague Featured Poster
JorgeM commented: easy to understand with a clear example! +12
JOSheaIV commented: Beat me to it +3
nitin1 commented: cool one... +0
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.