ValidateCode1.cs public ValidateCode() { } /// /// 验证码的最大长度 /// public int MaxLength { get { return 10; } } /// /// 验证码的最小长度 /// public int MinLength