public void BeeFactory() { BeeFactory beeFactory = null; Console.WriteLine("Choose your bee from 1,2 or 3: "); string bee = Console.ReadLine(); switch (bee) { case "1": beeFactory = new QueenFactory(150, false); break; case "2": beeFactory = new DroneFactory(100, false); break; case "3": beeFactory = new WorkerFactory(80, false); break; default: break; } IBee bee1 = beeFactory.GetBee(); }