0
Console.write and console.writeline
I tried the both of the and didn't really see any difference.. someone should explain pls
4 Answers
+ 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
0
Venkat is that still c#
0
ok