title: How to use for loop in ASP.NET MVC?
body: <p>I have a very basic ASP.NET MVC project, that uses <code>C#</code> for the programming language and <code>Razor</code> for its view engine.
  I want to generate this HTML markup with <code>for</code> loop in the view.</p>
  
  <pre><code>&lt;div class="item-1"&gt;Item 1&lt;/div&gt;
  &lt;div class="item-2"&gt;Item 2&lt;/div&gt;
  &lt;div class="item-3"&gt;Item 3&lt;/div&gt;
  &lt;div class="item-4"&gt;Item 4&lt;/div&gt;
  &lt;div class="item-5"&gt;Item 5&lt;/div&gt;
  ...
  &lt;div class="item-N"&gt;Item N&lt;/div&gt;
  </code></pre>
  
  <p>— Where <strong><code>N</code></strong> is a defined number in the loop.</p>
  
  <p>How can I do this?</p>