Esempio n. 1
0
        public static void Main(string[] args)
        {
            var worker = new FactoryWorker();
            var result = worker.AddNumbers(2, 3);

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

            worker.Count(4);
            worker.Count(5);

            worker.Count(4.5f);
        }