Check out example codes for "how to make a line of code wait c#". It will help you in understanding the concepts better.

Code Example 1

//In the example below the script will right "Hello" and 3 seconds later write "Goodbye" in the console
Start()
{
  	//Call the function Example()
	StartCoroutine(Example());
}

Example()
{
  	Console.WriteLine("Hello");
  	//wait 3 seconds
	yield return new WaitForSeconds(3);
  	Console.WriteLine("Goodbye");
}

Code Example 2

System.Threading.Thread.Sleep(Milliseconds);

Learn ReactJs, React Native from akashmittal.com