public bool Equals(Freelancer another) { return(Name.Equals(another.Name) && MonyPerHour.Equals(another.MonyPerHour) && Experience.Equals(another.Experience) && Gender.Equals(another.Gender)); }
public bool Equals(Employee another) { return(Name.Equals(another.Name) && MonyPerHour.Equals(another.MonyPerHour) && Level.Equals(another.Level) && Gender.Equals(another.Gender)); }