public bool Equals(IGroup other) { if (other != null && NumberGroup.ToString().Equals(other.NumberGroup.ToString())) { return(true); } else { return(false); } }
public NumberGroup(NumberGroup numberGroup, int number) { CodeSpecialty = numberGroup.ToString(); Number = number; }
public Id(NumberGroup numberGroup, Id id) { Number = numberGroup.ToString() + id; }