static void Main(string[] args) { var worker = new FactoryWorker(); var result = worker.AddNumbers(6, 6); Console.WriteLine(result.ToString()); }
static void Main(string[] args) { var worker = new FactoryWorker(); worker.Count(10); worker.Count(25); worker.Count(5.5); }