Example #1
0
        static void Main()
        {
            var calc = new Calculator();

            calc.ErrorOperation += (sender, args) => Console.WriteLine(args.Message);

            calc.DoCalculation("/", 1, 0);

            //calc.AddOperation("%", (x,y) =>x % y);
        }