public class Company { public ListIn this example, we create a Company object and an Employee object. Then we call the AddEmployee method of the Company object and pass in the Employee object as a parameter. After that, we loop through all the employees in the company and print their name and job title. Potential library package: HumanResourcesManagement or EmployeeManagement.Employees { get; set; } public void AddEmployee(Employee employee) { Employees.Add(employee); } } public class Employee { public string FirstName { get; set; } public string LastName { get; set; } public string JobTitle { get; set; } } static void Main(string[] args) { var company = new Company(); var newEmployee = new Employee() { FirstName = "John", LastName = "Doe", JobTitle = "Software Developer" }; company.AddEmployee(newEmployee); foreach (var employee in company.Employees) { Console.WriteLine($"{employee.FirstName} {employee.LastName}: {employee.JobTitle}"); } }