static void Main(string[] args)
        {
            Nummers myNumbers = new Nummers();

            myNumbers.Getal1 = 5;
            myNumbers.Getal2 = 10;
            myNumbers.Som();
            Console.WriteLine("getallen:" + myNumbers.Getal1 + ", " + myNumbers.Getal2);
            Console.WriteLine("Som = " + myNumbers.Som());
            Console.WriteLine("Verschil = " + myNumbers.Verschil());
            Console.WriteLine("Product = " + myNumbers.Product());
            Console.WriteLine("Quotient = " + myNumbers.Quotient());
        }
        static void Main(string[] args)
        {
            Nummers paar1 = new Nummers();

            paar1.Getal1 = 12;
            paar1.Getal2 = 34;

            Console.WriteLine("Paar:" + paar1.Getal1 + ", " + paar1.Getal2);
            Console.WriteLine("Som = " + paar1.Som());
            Console.WriteLine("Verschil = " + paar1.Verschil());
            Console.WriteLine("Product = " + paar1.Product());
            Console.WriteLine("Quotient = " + paar1.Quotient());
        }
        static void Main(string[] args)
        {
            Nummers paar1 = new Nummers();

            paar1.Getal1 = 12;
            paar1.Getal2 = 34;

            Console.WriteLine($"Paar: {paar1.Getal1}, {paar1.Getal2}");
            Console.WriteLine($"Som = {paar1.Som()}");
            Console.WriteLine($"Verschil = {paar1.Verschil()}");
            Console.WriteLine($"Product = {paar1.Product()}");
            Console.WriteLine($"Quotient = {paar1.Quotient() }");
        }
Beispiel #4
0
        static void Main(string[] args)
        {
            Nummers nummers = new Nummers();

            nummers.Getal1 = 5;
            nummers.Getal2 = 2;

            Console.WriteLine(nummers.Som());
            Console.WriteLine(nummers.Verschil());
            Console.WriteLine(nummers.Product());
            Console.WriteLine(nummers.Quotient());

            Console.ReadLine();
        }