Example #1
0
        static void AddNumbers()
        {
            MathStuff ms = new MathStuff();

            Console.WriteLine("Plus Method: " + ms.PlusMethod(8, 9));
            Console.WriteLine("Plus Method: " + ms.PlusMethod(8.01, 9.01));
            Console.WriteLine("Plus Method: " + ms.PlusMethod(8, 9, 10));
            Console.WriteLine("Plus Method: " + ms.PlusMethod(8.5, 9.7, 10.15));


            Console.WriteLine("Mult Method: " + ms.MultMethod(8, 9));
            Console.WriteLine("Mult Method: " + ms.MultMethod(8.01, 9.01));
        }