nerdexam
Microsoft

98-372 · Question #136

98-372 Question #136: Real Exam Question with Answer & Explanation

Sign in or unlock 98-372 to reveal the answer and full explanation for question #136. The question stem and answer options stay visible for context.

Question

You want to substitute values in a string that is displayed on the console. Which code fragment will display "Hello, World"?

Options

  • AConsole.WriteLine("Hello, [0]", "World")
  • BConsole.WriteLir.e ("Hello, {0}", "World")
  • CConsole.WriteLine("Hello, (0)", "World")
  • DConsole.WriteLine("Hello, <0>", "World")

Unlock 98-372 to see the answer

You've previewed enough free 98-372 questions. Unlock 98-372 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full 98-372 Practice