Multiple choice

Why is the method ReadLine() used for in the System. Console.ReadLine()?

  1. For getting the input

  2. For printing the output

  3. For accessing any particular variable

  4. None of the above

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

Explanation: Console.ReadLine() is used to get the input from the user and Console. WriteLine() is used to print the output to the screen.