/// <summary> /// 是否有部分相等 /// </summary> /// <param name="other">其他的 <see cref="Person"/> 物件實體</param> /// <returns></returns> public bool PartitalEquals(Person other) => (HouseColor == other.HouseColor || Nationality == other.Nationality || Pet == other.Pet || Beverage == other.Beverage || Cigaret == other.Cigaret);
static Person() { Empty = new Person(); }