Marker interface to specify that the implementing System.ComponentModel.DataAnnotations.ValidationAttribute should validate content as a collection instead of individual values.

public interface ICollectionValidationAttribute

Implemented by

MaxCountAttribute Sets the maximum number of items allowed for this property. Only applies to collection properties. This is only enforced in the back office user interface; from code it is possible to add more items than the specified maximum.
MinCountAttribute Sets the minimum number of items allowed for this property. Only applies to collection properties. This is only enforced in the back office user interface; from code it is possible to add more fewer than the specified minimum.
In this article