I have an IEnumerable of Video objects as my Razor View's Model.
@model IEnumerable<VideoViewModel>
I am trying to make it so every 2 videos will be inside of a bootstrap row. The first video of the two will be in the first col-md-6 and the second video of the two will be in the second col-md-6.
Here is an example of what I am looking to do with a razor foreach loop:
<div class="row">
    <div class="col-md-6">
        First video in model
    </div>
    <div class="col-md-6">
        Second video in model
    </div>
</div>
<div class="row">
    <div class="col-md-6">
        Third video in model
    </div>
    <div class="col-md-6">
        Fourth video in model
    </div>
</div>
<div class="row">
    <div class="col-md-6">
        Fifth video in model
    </div>
    <div class="col-md-6">
        Sixth video in model
    </div>
</div>
 
     
    