c# data annotations max int code example
Example: max value data annotation c#
[Range(0.0, Double.MaxValue, ErrorMessage = "The field {0} must be greater than {1}.")]
[Range(0.0, Double.MaxValue, ErrorMessage = "The field {0} must be greater than {1}.")]