public void TimKiemCanBo()
        {
            string TenSearch, PhongBanSearch;

            Console.Write("\nNhap ten can tim kiem: ");
            TenSearch = Console.ReadLine();

            Console.Write("Nhap phong ban can tim kiem: ");
            PhongBanSearch = Console.ReadLine();


            NhanVienHanhChinh Result = DanhSachNhanVien.Find(item => (item.HoTen == TenSearch) && (item.PhongBan == PhongBanSearch));

            Console.WriteLine("\nNhan vien can tim kiem: ");
            Console.Write(String.Format("{0, -15}", "Ten"));
            Console.Write(String.Format("{0, -13}", "He so luong"));
            Console.Write(String.Format("{0, -13}", "Phong ban"));
            Console.Write(String.Format("{0, -10}", "Chuc vu"));
            Console.Write(String.Format("{0, -13}", "So ngay cong"));
            Console.WriteLine(String.Format("{0, -15}", "Luong"));
            Result.Xuat();
        }
        public void NhapCanBo()
        {
            int    SoLuongNhanVien  = 0;
            int    SoLuongGiangVien = 0;
            string choose;

            Console.Write("Nhap so luong can bo: ");

            do
            {
                try
                {
                    SoLuongCanBo = Convert.ToInt32(Console.ReadLine());
                    if (SoLuongCanBo <= 0)
                    {
                        Console.WriteLine("So luong can bo phai lon hon 0");
                    }
                }
                catch (OverflowException oe)
                {
                    Console.WriteLine("Qua gioi han cua du lieu");
                }
                catch (FormatException fe)
                {
                    Console.WriteLine("So luong phai la so");
                }
            }while (SoLuongCanBo <= 0);


            do
            {
                try
                {
                    MainMenu();

                    choose = Console.ReadLine();

                    if (choose[0] != '0' && choose[0] != '1')
                    {
                        Console.WriteLine("Nhap lai: ");
                    }

                    switch (choose[0])
                    {
                    case '1':
                        ++SoLuongGiangVien;
                        GiangVien gv = new GiangVien();
                        Console.WriteLine("\nNhap giang vien thu {0}", SoLuongGiangVien);
                        gv.Nhap();
                        DanhSachGiangVien.Add(gv);
                        break;

                    case '2':
                        ++SoLuongNhanVien;
                        NhanVienHanhChinh nv = new NhanVienHanhChinh();
                        Console.WriteLine("\nNhap nhan vien thu {0}", SoLuongNhanVien);
                        nv.Nhap();
                        DanhSachNhanVien.Add(nv);
                        break;

                    default: break;
                    }
                }
                catch (IndexOutOfRangeException)
                {
                    Console.WriteLine("Ban vua nhap chuoi rong");
                }
            } while (!isFull(SoLuongGiangVien, SoLuongNhanVien, SoLuongCanBo));
        }