New Line

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I was wondering how to cause a new line break, I thought it was /n. This is
not causing a line break when I look at the output. I have got this mixed up?

Thanks in advance for your assistance...
 
Jim Heavey said:
I was wondering how to cause a new line break, I thought it was /n. This is
not causing a line break when I look at the output. I have got this mixed up?

Thanks in advance for your assistance...

On Windows, \r\n is the normal line separator. You can use
Environment.NewLine to get the line separate for the current platform.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top