private static void K1_OnKontostandUeber1000(object arg1, KontoEventArgs e) { Console.WriteLine($"neuer Kontoastnand {e.NeuerKontostand}"); Console.WriteLine("Time for shopping"); }
private static void K2_OnKontostandUeber1000(object arg1, KontoEventArgs e) { Console.WriteLine($"neuer Kontoastnand {e.NeuerKontostand}"); Console.Beep(5000, 1000); }