PrepAway - Latest Free Exam Questions & Answers

Which of the following is TRUE with regards to the Console.WriteLine method?

You work as a developer at ABC.com. The ABC.com network consists of a single domain named
ABC.com.
You are in the process of creating a new ABC.com application. You have written code that
includes the Console.WriteLine method.
Which of the following is TRUE with regards to the Console.WriteLine method?

PrepAway - Latest Free Exam Questions & Answers

A.
It writes the identified data, followed by the current line terminator, to the standard output
stream.

B.
It writes the text representation of the identified value or values to the standard output stream.

C.
It writes the identified data, followed by the current line terminator, to a customized output
stream.

D.
It writes the text representation of the identified value or values to a customized output stream.

Explanation:

3 Comments on “Which of the following is TRUE with regards to the Console.WriteLine method?

    1. ivannathan says:

      B.
      The answer should be B because A tells about identified data, but B is about text representation. All descriptions from MSDN link of WriteLine method starts with “Writes the text representation of…”




      0



      0

Leave a Reply