I\'m looking for a way to write the following code with less lines of code (maybe 5). I suppose I could do the same thing as the selected class but this razor syntax isn\'t
@foreach (var mi in Model.MenuItems) { @mi.Text }