0

Console.write and console.writeline

I tried the both of the and didn't really see any difference.. someone should explain pls

5th Jun 2018, 1:36 PM
bhirkoff
bhirkoff - avatar
4 ответов
+ 2
Console.WriteLine() leaves a new line '\n' at the end Console.Write(), doesn't Ex: Console.Write("hello "); Console.WriteLine("world"); Console.Write("This will print in new line"); output: hello world This will print in new line
5th Jun 2018, 1:54 PM
Venkat
Venkat - avatar
0
Venkat is that still c#
5th Jun 2018, 1:41 PM
bhirkoff
bhirkoff - avatar
0
ok
5th Jun 2018, 1:43 PM
bhirkoff
bhirkoff - avatar