difference between console.write and console.writeline | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

difference between console.write and console.writeline

17th Sep 2016, 4:58 PM
G.Moghan Babu
G.Moghan Babu - avatar
2 Answers
+ 3
Console.WriteLine adds a new line character at the end of the output.
17th Sep 2016, 6:19 PM
Zen
Zen - avatar
0
The difference is that on Console.WriteLine writes and display a parameter on a line and Console.Write make an action with a parameter and do the same thing that do Console.WriteLine
17th Sep 2016, 5:10 PM
Efraín Gutiérrez Arrieta