+ 1

Event does Not fire

What is the Problem wiith this code. https://code.sololearn.com/cj7h3WQ9tkH5/?ref=app

19th Mar 2020, 6:45 PM
Asgar Ali
Asgar Ali - avatar
2 Respostas
+ 6
Your program exits prior to the timer expiring. You would need a task to keep the program running for over a second to see your message.
20th Mar 2020, 5:00 AM
John Wells
John Wells - avatar
+ 1
Thank You John Sir .I Added Thread. Sleep() in the main Now i can see the message.
20th Mar 2020, 6:04 AM
Asgar Ali
Asgar Ali - avatar