public Family()
 {
     Managers[0] = new Manager("firstmanager", 30);
     Managers[1] = new Manager("secondmanager", 30);
     Managers[2] = new Manager("thirdmanager", 30);
     Managers[3] = new Manager("fourthmanager", 30);
 }
        static void Main(string[] args)
        {
            Employee e1 = new Employee("Ujjwal");
            e1.GetEmployeeDetails();

            PartTimeClerk p1 = new PartTimeClerk();
            p1.NoOfWorkingDays = 50;
            Console.WriteLine();
            p1.GetEmployeeDetails();

            Employee e2 = new Manager();
            e2.GetEmployeeDetails();
            if (e2 is Employee)
            {
                Console.WriteLine("it is employee");
            }

            Console.ReadKey();
        }
 public Manager2(Manager boss)
 {
     MyBoss = boss;
 }