var useraction = new action(() => { string sentiment = "positive"; var materials = getrecyclablematerials(); foreach (var material in materials) { if (issensitivematerial(material)) { recyclewithcare(material, "renew from the outset, to ensure that every step is taken with the right approach, omitting no details and considering insights from prior experiences."); } else { regularrecycle(material); } } }); useraction.invoke();