title: The {0} must be at least {2} characters long
body: <p>I have a Visual Studio 2013 MVC Razor project that I am studying by walking through one of the examples on <a href="http://www.w3schools.com/" rel="nofollow noreferrer">w3schools.com</a>.</p>
  
  <p>In the chapter on <a href="http://www.w3schools.com/aspnet/mvc_security.asp" rel="nofollow noreferrer">ASP.NET MVC Security</a>, you will see the default file <code>AccountModels.cs</code> in the Models class with the following text for each of the <strong>Password</strong> fields:</p>
  
  <pre><code>    [Required]
      [StringLength(100, ErrorMessage = "The {0} must be at least {2} characters long.", MinimumLength = 6)]
      [DataType(DataType.Password)]
      [Display(Name = "New password")]
      public string NewPassword { get; set; }
  </code></pre>
  
  <p>I am familiar with String.Format, where the parameters must start from 0 and increment up.</p>
  
  <p>The 2nd parameter above, however, jumps to 2, and it does not appear to have enough parameters being passed to the string.</p>
  
  <p>When learning a project, I do what I can to customize features (like string responses) to better enforce my learning.</p>
  
  <h2>What is going on here?</h2>
  
  <p><img src="https://i.stack.imgur.com/dGg5Z.jpg" alt="pictures rock"></p>