Herfried,
Notice that this busy waiting loop will cause large CPU utilization :-(.
Why, in this sample it is very busy showing lines to the console and that
takes CPU time, you cannot prevent that. However you can do beside it very
simple something else.
Maybe it is time you get a new computer.
It is not meant as a real application, however to show how to use an event
in a console application.
There can of course be build in any wait, to show the most simple one in
this case.
Threading.thread.sleep(1000).
However it is not a real application only to show that an event is possible.
Therefore I don't understand what you mean?
Cor