Exemple #1
0
        static void Main(string[] args)
        {
            var factory = new CountingDuckFactory();
            var sim     = new DuckSimulator(factory);

            sim.Simulate();

            Console.ReadKey();
        }