title: Iterate a list for first half no of items
body: <p>I am trying to iterate a list for only first half of the items, and then again i want to iterate a list for only the remaining other half of the list. Any Ideas ?</p>
  
  <pre><code>@foreach (var category in Model.Categories.OrderBy(i =&gt; i.CategoryName))
  {
    &lt;li&gt;
      &lt;div id="category_@(category.SKU)" 
           class="itemBlock" 
           onclick="toggle('@(category.SKU)')"&gt;
    &lt;/li&gt;
  }
  </code></pre>