public virtual bool Equals(DateOfBirth other) { if (null != other && other.GetType() == GetType()) { return other.Date == Date; } return false; }