} // end method Main // return string that contains Employee information public static string GetString(Employee worker) { return(worker.ToString() + " earned " + worker.Earnings().ToString("C") + "\n"); }