public static void example()
        {
            Bilangan a = new Bilangan(2);
            Bilangan b = new Bilangan(2);

            Bilangan c = a + b;
            Console.WriteLine(c.nilai);

            // result is 4
        }
Пример #2
0
        public static void example()
        {
            Bilangan a = new Bilangan(2);
            Bilangan b = new Bilangan(2);

            Bilangan c = a + b;

            Console.WriteLine(c.nilai);

            // result is 4
        }