Although It isn't apparent how to augment a immediate member obtain like foo.num = num, You can easily augment your standard setter with an additional force parameter: There is no other preference. Properties are unable to store any details Although, it might seem they can easily do this. See bellow. https://aiplgurugram.co.in/