How do I print text in same line?

前端 未结 4 719
温柔的废话
温柔的废话 2021-01-24 15:31

I am new to C#. While displaying text, C# prints every piece of text in a new line. But, I would like have all the pieces in the same line like Four Hundred Fifty Eight

4条回答
  •  Happy的楠姐
    2021-01-24 16:16

    Assuming you're using Console.WriteLine(), all you need to do is use Console.Write() instead.

提交回复
热议问题