SyntaxFix
Write A Post
Hire A Developer
Questions
Try this :
string myStr = ... myStr = myStr.Replace("\n", Environment.NewLine)