title: Validate String Array In ASP.NET MVC
body: <p>I use ASP.NET MVC. How can i validate string array in my view model. Because "Required" attribute doesn't work with string array.</p>
  
  <pre><code>[DisplayName("Content Name")]
  [Required(ErrorMessage = "Content name is required")]
  public string[] ContentName { get; set; }
  </code></pre>