public override string ToString() { return("\nEmployee Number: " + EmployeeNumber + "\n Name: " + Name + "\n Date of Hire: " + DateOfHire.ToShortDateString() + "\n Monthly Salary: " + MonthlySalary.ToString("C")); }
public override string ToString() { return($"ID: {EmployeeID} - {base.ToString()}\nHire Date: {DateOfHire.ToShortDateString()}\tActive Employee: {IsEmployed.ToYesNo(), 3}\t Salary: {AnnualSalary:c2}"); }