In this case it is string length 50 or it can be a validation of four number format or an email format or any other basic validation that is available with asp.net code. You can even create your own validation attributes which are the generic validation.