What is the difference in behavior of [MaxLength] and [StringLength] attributes?
[MaxLength]
[StringLength]
As far as I can tell (with the exception that [MaxLe
[MaxLe
One another point to note down is in MaxLength attribute you can only provide max required range not a min required range. While in StringLength you can provide both.