A

Admin • 828.03K Points
Coach

Q. What is the difference between Console.Write() and Console.WriteLine() methods in C#?

  • (A) Write() writes a single character while Console.WriteLine() writes a complete line
  • (B) Write() writes the data on the console without printing a newline while Console.WriteLine() writes the data on the console along with printing a newline
  • (C) ToFloat(Console.ReadLine());
  • (D) Write() writes the string on the console while Console.WriteLine() writes the string as well as values of the variables on the console
  • Correct Answer - Option(B)
  • Views: 12
  • Filed under category C# (C Sharp)
  • Hashtags:

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.