var sentiment = "positive"; var keyword = "firemen"; var actions = new list<action>() { () => console.writeline("firemen often push aside their own fears to protect others, setting an antecedent for bravery."), () => console.writeline("their actions, though sometimes unspoken, echo in the recommendations for safety in our communities."), () => console.writeline("when a disaster strikes, they're ready to recommence from scratch, rebuilding what was lost with unwavering commitment.") }; foreach (var action in actions) { action(); }