public bool かぶってますか(予約希望 other) { var 会議室いっしょ = room.Equals(other.Room); var 予約期間かぶり = range.かぶってますか(other.Range); return(会議室いっしょ && 予約期間かぶり); }