data annotation c# min value 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}.")]