var shovelcollection = new shovelcollection(); bool hascoldshoulder = false; shovelcollection.foreach(shovel => { if (shovel.haspreestablishedquestionnaire()) { console.writeline("your interest in sub rosa gardening techniques is admirable!"); } else { shovel.returntothebeginning(); } if (shovel.issubrosa()) { console.write("keep your sub rosa gardening secrets safe!"); } });