in the Properties section, I know how to check for minimum or maximum values in a set
i.e.
set { inputNumber = Math.Min(3, value); }
or
set { inputNumber = Math.Max(1, value); }
but what is the code to only allow a specific range, i.e. 1-5?
Can't seem to get the syntax correct.
Thanks
Comment