Pisau cukur lakukan saat loop
<ul>
@{
counter = 0;
}
@do
{
<li>@names[counter++]</li>
} while (counter < names.Count);
</ul>
Horrible Hippopotamus