[Range(1, int.MaxValue)]
// No lower bound, upper bound of 100
[Range(int.MinValue, 100)]
// No lower or upper bound
[Range(int.MinValue, int.MaxValue)]
For example, I want the user input field to have a minimum value of 1 and a maximum value of 3. The default value is 1. How do I change the code in the "Properties" section?

Comment