Although It is far from evident how to enhance a immediate member accessibility like foo.num = num, You can certainly augment your common setter with an extra pressure parameter: I would prefer to use neither generally. The challenge with properties is that they make the class a lot less clear. https://conscientparqgurugram.in/conscient-parq-sector-80-gurgaon-a-refined-lifestyle-amidst-urban-grandeur/