Which of the following statements pauses program execution for 1 second?

System.Threading.Thread.Pause(1000)
System.Threading.Thread.Pause(1)
System.Threading.Thread.Sleep(1000)
System.Threading.Thread.Sleep(100)

The correct answer is: C. System.Threading.Thread.Sleep(1000)

The System.Threading.Thread.Sleep method pauses the current thread for the specified number of milliseconds. The method returns after the specified time has elapsed.

The System.Threading.Thread.Pause method is obsolete and should not be used. It pauses the current thread until the next message is received on the thread’s message queue.

The System.Threading.Thread.Sleep(100) method pauses the current thread for 100 milliseconds. This is not enough time to pause program execution for 1 second.

I hope this helps!