validation attribute for min value for long data type in c# 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}.")]