System.Threading.Thread.Pause(1000)
System.Threading.Thread.Pause(1)
System.Threading.Thread.Sleep(1000)
System.Threading.Thread.Sleep(100)
Answer is Wrong!
Answer is Right!
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
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!