Horje
c# wait seconds Code Example
c# Sleep
using System.Threading;

static void Main()
{
  //do stuff
  Thread.Sleep(5000) //will sleep for 5 sec
}
how to wait in c#
System.Threading.Thread.Sleep(Milliseconds);
c# wait seconds
//wait 2 seconds
Thread.Sleep(2000);
Task.Delay(2000);

//Both are valid options but Task.Delay() can be used with the async keyword
c# wait seconds

dataGridView1.Rows[x1].Cells[y1].Style.BackColor = System.Drawing.Color.Red;
dataGridView1.Refresh();
System.Threading.Thread.Sleep(1000);





Csharp

Related
switch case c# range Code Example switch case c# range Code Example
camera follow Code Example camera follow Code Example
unity add component Code Example unity add component Code Example
c# store strings in file Code Example c# store strings in file Code Example
move in the direction that player is facing unity Code Example move in the direction that player is facing unity Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
10