Casting Off and On again to make an Armhole

Several of my patterns rely on casting off stiches in the middle of a row and in the next row, casting them on again. This is a bit confusing if you haven't done it before, so here is a video I found on Youtube that shows it beautifully. Thank you to "Wool and the Gang".