Microsoft
98-372 · Question #175
You want to insert a new line on the console. Which three code fragments will display "Hello" followed by a new line? (Each correct answer presents a complete solution. Choose three.)
Sign in or unlock 98-372 to reveal the answer and full explanation for question #175. The question stem and answer options stay visible for context.
Understanding .NET Framework Concepts
Question
You want to insert a new line on the console. Which three code fragments will display "Hello" followed by a new line? (Each correct answer presents a complete solution. Choose three.)
Options
- AConsole.Write("Hello\n")
- BConsole.Error.Write("Hello\t")
- CConsole.WriteLine("Hello")
- DConsole.Write("Hello\t")
- EConsole.Error.WriteLine("Hello")
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.
Topics
#Console.WriteLine#Console.Write#escape sequences#newline character