예제 #1
0
        private void AsInt()
        {
            int a = 100;
            int b = 201;

            Console.WriteLine(DynamicMath.Sum(a, b));
            Console.WriteLine(DynamicMath.Difference(a, b));
        }
예제 #2
0
        private void AsDouble()
        {
            double a = 100.002;
            double b = 201.0105;

            Console.WriteLine(DynamicMath.Sum(a, b));
            Console.WriteLine(DynamicMath.Difference(a, b));
        }