How do I make this possible?

@if(item.i % 2 == 0)
{
   <div class="row">
}       

@if(item.i % 2 == 0)
{
   </div>
}

Without it complaining that I haven't finished a tag off and thus thinking I haven't put a } at the end of the if statement

Related posts

Recent Viewed