Even though It isn't clear how to enhance a immediate member access like foo.num = num, You can certainly augment your conventional setter with yet another pressure parameter: There is absolutely no other preference. Properties can't shop any information Although, it could seem they can easily accomplish that. See bellow. https://conscientparqgurugram.in/