Casting on using scrap yarn

Years ago I learned to cast on with scrap yarn, knit a few inches, and then remove the cast on stitches. The resulting edge was stretchy, and very “finished” looking. Can someone help me please?

This was a very good cast on for ribbing!

Are you looking for the the name? Tubular CO. I use it often on hats.