✅ writeline and write for console question

so I was following a tutorial for C# beginners, and their code in the image has "Conosle.WriteLine();" before the "Console.Write". What is the point of doing that? i had tested the code and it runs fine without the use of the blank writeline.
No description
3 Replies
Jimmacle
Jimmacle3w ago
a writeline with no argument just writes a blank line can't really tell you why it's there based on the screenshot, but it's probably just for formatting
Frog Cheems
Frog CheemsOP3w ago
gotcha, thank you for answering ok so i looked a bit closer and I know why it was added, the script prompts you to press a certain button then it will ask you those question in the picture, without the blank statement it just adds it to the key you pressed
Frog Cheems
Frog CheemsOP3w ago
No description

Did you find this page helpful?