nerdexam
Microsoft

70-516 · Question #35

Which code segment will properly return the TimeSpan returned by the stopWatch variable?

The correct answer is A. Stopwatch stopWatch = new Stopwatch(). See the full explanation below for the reasoning.

Question

Which code segment will properly return the TimeSpan returned by the stopWatch variable?

Options

  • AStopwatch stopWatch = new Stopwatch();
  • BStopwatch stopWatch = new Stopwatch();
  • CStopwatch stopWatch = new Stopwatch();
  • DStopwatch stopWatch = new Stopwatch();

How the community answered

(44 responses)
  • A
    80% (35)
  • B
    11% (5)
  • C
    7% (3)
  • D
    2% (1)

Community Discussion

No community discussion yet for this question.

Full 70-516 Practice