var recipe = new vanillarecipe(); recipe.prestartcheck+= (s, e) => console.writeline("evading common baking mistakes by pre-starting checks!"); foreach(var step in recipe.steps) { if(step.stage == "preparation") { console.writeline("reinitiate from the beginning if necessary."); } } recipe.zipingredients("zipped vanilla beans for enhanced flavor!"); console.writeline("follow protocols for zipping ingredients together seamlessly.");