/ Published in: C#
Sometimes you may need a carriage return in your text. Line 1 is the code for a carriage return in C# and line 3 shows an example of how to use it.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
System.Environment.NewLine this.myTextArea.Text += "This is the first line" + System.Environment.NewLine + "this is on the next line.";