Exemple #1
0
 public bool Equals(Freelancer another)
 {
     return(Name.Equals(another.Name) &&
            MonyPerHour.Equals(another.MonyPerHour) &&
            Experience.Equals(another.Experience) &&
            Gender.Equals(another.Gender));
 }
Exemple #2
0
 public bool Equals(Employee another)
 {
     return(Name.Equals(another.Name) &&
            MonyPerHour.Equals(another.MonyPerHour) &&
            Level.Equals(another.Level) &&
            Gender.Equals(another.Gender));
 }