Not a bad topic. Encapsulation is definitely important. In C# you could also make your sets private as well. This would allow you to easily get the value of a property, but not allow you to easily modify it.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Not a bad topic. Encapsulation is definitely important. In C# you could also make your
set
s private as well. This would allow you to easilyget
the value of a property, but not allow you to easily modify it.