Example #1
0
        static void Main(string[] args)
        {
            var test = new cosothaplucphan(255);

            test.output();

            Console.ReadLine();
        }
Example #2
0
        static void Main(string[] args)
        {
            var x = new cosothaplucphan();

            x.nhap();
            x.Xuat();
            var y = new cosothaplucphan();

            y.nhap();
            y.Xuat();

            Console.ReadLine();
        }
Example #3
0
        static void Main(string[] args)
        {
            cosothaplucphan a = new cosothaplucphan();
            cosothaplucphan b = new cosothaplucphan();
            cosothaplucphan c = new cosothaplucphan();

            a.Xuat(a.Nhap());
            Console.WriteLine("-------------------------------------------------------------------");
            b.Xuat(b.Nhap());
            Console.WriteLine("-------------------------------------------------------------------");
            c = a + b;

            Console.ReadKey();
        }