@model SharedLibraryCore.Configuration.ApplicationConfiguration @{ int start = Model.Servers.Length - 1; int end = start + 1; } @for (int i = start; i < end; i++) { @Html.EditorFor(model => model.Servers[i]); }