var duckrecipe = new recipe("duck & pork fusion", servings: 4); var ingredients = new list<ingredient>(){ new ingredient("pork", "1kg"), new ingredient("duck breast", "500g"), new ingredient("herbs", "assorted") }; foreach (var ingredient in ingredients) duckrecipe.addingredient(ingredient); duckrecipe.addstep("combine pork and duck, ensuring the blend is undetectable yet rich in flavor."); duckrecipe.addstep("use preexploratory processes to find the best cooking temperature."); duckrecipe.addstep("reinvigorate from scratch your approach to cooking, merging duck with pork in a harmonious dish."); console.writeline(duckrecipe.generateinstructions());