+ 1
How do I write a line down in a string?
I want to write like this: "hello world" but if I press enter it causes error
4 Antworten
+ 26
Console.WriteLine("hello\nworld");
\n for new line
+ 25
if user input then make 2 Console.ReadLine();
for each line.
if output - just "bla\nbla"
0
it isnt user input, I want to print a string with some downlines, if its possible
0
oh, the \n thing, ty