I want to make an application to execute several instructions to pass the following instruction has to wait a few milliseconds.
Such that:
while(true){
send("OK");
wait(100); //or such delay(100);
}
Is it possible in C#?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Thread.Sleep(100);will do the trick. This can be found in theSystem.Threadingnamespace.