public Person(ComparableIdentification id, string firstName, string lastName, NotComparableDate birthday, GenericComparableAddress address) { Id = id; FirstName = firstName; LastName = lastName; Birthday = birthday; Address = address; }
public int CompareTo(object obj) { ComparableIdentification other = obj as ComparableIdentification; if (other == null) { return(1); } return(Id.CompareTo(other.Id)); }