0

I am trying to schedule a time to change the visible property of the form after 10 seconds.

Task.Delay(1000).ContinueWith((task) => {
     this.Visible = true;
});

And I get an error like this

How can i solve it?

Mido
  • 341
  • 2
  • 15

0 Answers0