3
Answers

new line in Text File

Ask a question
it novice

it novice

17y
2.1k
1

StreamWriter sw = new StreamWriter(“path”);

sw.Write(“"Hello \r World"”);

 

in the above code new line do not appear in the File.

Can some one help me to insert new line in File.  


Answers (3)
Next Recommended Forum