Though It isn't noticeable how to reinforce a direct member accessibility like foo.num = num, You can easily augment your traditional setter with a further force parameter: I would favor to utilize neither in most cases. The condition with properties is that they make the class fewer clear. Specially, this https://emperiumgurugram.in/emperium-premio-sector-37c-gurgaon-urban-elegance-with-seamless-connectivity/