Though It's not necessarily obvious how to enhance a direct member access like foo.num = num, You can certainly augment your classic setter with a further force parameter: I would prefer to implement neither in most cases. The challenge with properties is they make the class a lot less clear. https://conscientgurugram.in/