Answers for "making the thread sleep for n milliseconds c#"

C#
14

c# Sleep

using System.Threading;

static void Main()
{
  //do stuff
  Thread.Sleep(5000) //will sleep for 5 sec
}
Posted by: Guest on March-02-2020
0

thread sleep vb

Imports System.Threading

Tread.Sleep(1000)
Posted by: Guest on January-15-2021

C# Answers by Framework

Browse Popular Code Answers by Language