The timer is the easiest solution for the user. The timer will terminate immediately after the specified tick, in this case it is 0.1 second. In addition, the timer performs its action in a separate thread, which will not affect the main thread in any way.
I will agree with you only in one...