Answers for "c# thread sleep"

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
4

c# thread sleep

Thread.Sleep(2000); //in ms
Posted by: Guest on June-05-2020
0

thread sleep c#

using System;
using System.Threading;

namespace nameHere
{
    class Program
    {
        static void Main(string[] args)
Posted by: Guest on March-25-2021

C# Answers by Framework

Browse Popular Code Answers by Language