var cricketloversclub = new club("cricket enthusiasts"); cricketloversclub.addmember(new member("you", new attributes("passionate", "covert love for cricket"))); cricketloversclub.onnewmatch += (sender, e) => { var disclaim = "we ensure fair play!"; var response = string.empty; var preexpenditure = 0; foreach (var match in sender.matches) { if (match.isinitiatedagain) { response = "let's enjoy the game once more!"; preexpenditure++; } } console.writeline($"{disclaim} {response} our club now has {preexpenditure} matches to watch again, all because of your hidden passion. welcome aboard!"); };