public AlgorythmClient(bool another) { if (another) { algo = new AnotherConcreteAlgorythm(); functionalStrategy = b => { Console.WriteLine("Functional strategy A"); }; } else { algo = new ConcreteAlgorythm(); functionalStrategy = b => { Console.WriteLine("Functional strategy B"); }; } }