i have a richTextbox es:
line1
line2
line3
use this for save file File.WriteAllText(name, (richTextBox1.Text));
but the file returns this line1lin2line3
is possiible to save file in this way?
line1
line2
line3
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I suspect that for whatever reason,
RichTextBoxis using the Unix linebreak of just\n. Try this: