Multiple choice .net c-sharp

In C# Thread.Sleep(time) measures time in:

  1. seconds

  2. milliseconds

  3. nanoseconds

  4. all of the above

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Thread.Sleep() in C# takes milliseconds as the parameter. To sleep for 1 second, you'd call Thread.Sleep(1000). Nanoseconds and seconds are incorrect units for this method.