Question: Question No. 2 (05) Complete this task using the C# concepts you learned in the lab. Create the classes of Employee and Manager with the

Question No. 2 (05) Complete this task using the C# concepts you learned in the lab. Create the classes of Employee and Manager with the association relationship using the object of each other and both with their own independent life cycle. Employee class will have a constructor, a data member of Employee Name with setter and getter and with a function to set manager name of employee with manager class object as a parameter of the function. Manager class will have a constructor, a data member of Manager Name with setter and getter and with a function of manager information with the employee class object as a parameter. Output of the task program should be: 1. Manager of Employee XYZ is ABC
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
