var prudentactions = new list<action>() { () => console.writeline("reawaken the spirit of service among firemen, setting a precedential standard for safety."), () => console.writeline("brush aside no potential hazard, ensuring a thorough comment on each safety procedure.") }; foreach(var action in prudentactions) { action.invoke(); }