//todo Ereignisbehandlung 4: Callback-Methode schreiben public void Auffuellen(Behaelter sender, EventArgs e) { sender.Fuellen(); }
public int CompareTo(object obj) { Behaelter other = (Behaelter)obj; return(this.Volumen.CompareTo(other.Volumen)); }