title: How to set asp-for in a for loop
body: <p>I have a for loop to generate fields on a form. </p>
  
  <p>How can I set the value of <strong>asp-for</strong> based on the current index? </p>
  
  <p><code>&lt;label asp-for=@("Value" + i) class="control-label"&gt;&lt;/label&gt;</code> does not work.</p>