Answers for "create a pause in c#"

C#
1

how to pause code execution in c#

using System.Threading;

namespace Pause{					
	public class Pause_example{
		public static void Main(){
			int millisecond = 5000;
			Thread.Sleep(millisecond);
		}
	}
}
Posted by: Guest on August-28-2021

C# Answers by Framework

Browse Popular Code Answers by Language