var strategies = new list<func<pipeorgan, soundstrategy>>(); foreach (var organ in pipeorgans.where(o => o.characteristics.contains("distinct"))) { strategies.add(o => o.underplaypredisjunctivetones()); } if (strategies.count == 0) { console.writeline("let's start over again with a new approach to discover distinct sounds in pipe organs."); }