Ejemplo n.º 1
0
        static void Main(string[] args)
        {
            QuanLy    quanly = new QuanLy();
            KhachHang kh     = new KhachHangVN(631, "bui the minh hieu", 5, 6000, 100, "hocsinh");

            quanly.NhapTTKhachHang();
            quanly.ThemKH(kh);
            quanly.XoaKH(631);
            quanly.dsCuoiCung();
        }
Ejemplo n.º 2
0
        public void NhapTTKhachHang()
        {
            Console.WriteLine("Nhap so luong khach hang: ");
            int n = Convert.ToInt32(Console.ReadLine());

            for (int i = 0; i < n; i++)
            {
                Console.WriteLine("Nhap thong tin khach hang thu {0}:", i + 1);
                KhachHang kh = new KhachHangVN();
                kh.Nhap();
                dsKhachHang.Add(kh);
            }
        }