Exemple #1
0
        static void Main(string[] args)
        {
            var worker = new FactoryWorker();
            var result = worker.AddNumbers(6, 6);

            Console.WriteLine(result.ToString());
        }
Exemple #2
0
        static void Main(string[] args)
        {
            var worker = new FactoryWorker();

            worker.Count(10);
            worker.Count(25);

            worker.Count(5.5);
        }