public bool IstAbschlussklasse() { // Klassen im Jahrgang 4 sind immer Abschlussklasse if (Jahrgang == 4) { return(true); } if (Jahrgang == 3 && !Klasse.StartsWith("M") && !Klasse.StartsWith("E") && HzJz == "Jz") { return(true); } if ((Gliederung.StartsWith("C03") || Gliederung.StartsWith("C13")) && Jahrgang == 2 && DateTime.Now.Month > 3) { return(true); } if ((Gliederung.StartsWith("B08") || Gliederung.StartsWith("C06") || this.Gliederung.StartsWith("C08")) && DateTime.Now.Month > 3) { return(true); } return(false); }