I have been wondering how to make a delay. I have tried thread.sleep but it stops the project. I would want to do something like:
Form4 ss = new Form4();
ss.Show();
wait(4000) //4000 miliseconds
ss.close();
I tried await Task.Delay(4000);
but it said:
I had the wrong return type
Please help