Check out example codes for "c# delay". It will help you in understanding the concepts better.

Code Example 1

Thread.Sleep(1000); //one second
//added semicolon

Code Example 2

Thread.Sleep(1000) //one second

Learn ReactJs, React Native from akashmittal.com