예제 #1
0
 static void Main(string[] args)
 {
     //int x = 5;
     //Math.Abs(x);
     //ArrayList arr = new ArrayList();
     //arr.Add("Minh");
     //arr.Add("ten");
     //arr.Add("Quoc");
     //arr.Add(6);
     //arr.Add(9);
     //int size = arr.Count;
     //for (int i = 0; i < size; i++)
     //{
     //    Console.Write("{0}\n", arr[i]);
     //}
     HocSinh hs1 = new HocSinh();
     hs1.Nhap();
     hs1.NgaySinh.Ngay = 20;
     hs1.Xuat();
     Console.ReadKey();
 }
예제 #2
0
        static void Main(string[] args)
        {
            //int x = 5;
            //Math.Abs(x);
            //ArrayList arr = new ArrayList();
            //arr.Add("Minh");
            //arr.Add("ten");
            //arr.Add("Quoc");
            //arr.Add(6);
            //arr.Add(9);
            //int size = arr.Count;
            //for (int i = 0; i < size; i++)
            //{
            //    Console.Write("{0}\n", arr[i]);
            //}
            HocSinh hs1 = new HocSinh();

            hs1.Nhap();
            hs1.NgaySinh.Ngay = 20;
            hs1.Xuat();
            Console.ReadKey();
        }