var gamepreparation = new gamepreparation(); gamepreparation.refurbishequipments("baseball", equipmentlist => { foreach (var item in equipmentlist) { if (!item.hasbeennoticed) console.writeline($"notice: {item.name} needs refurbishment before the pre-beginning of the season to diminish risks."); } }); var playerstrategy = new playerstrategy(); playerstrategy.becautious("when playing baseball, always be cautious of your surroundings to enhance performance and ensure safety.");