public override bool Equals(object obj) { if (this == obj) { return(true); } if (obj == null || this.GetType() != obj.GetType()) { return(false); } Saal other = (Saal)obj; if (!this.SaalName.Equals(other.SaalName)) { return(false); } if (!this.AnzahlSitze.Equals(other.AnzahlSitze)) { return(false); } return(true); }
public Vorstellung(Film film, Saal saal, DateTime dateTime) { Film = film; Saal = saal; DateTime = dateTime; }