c# text newline code example
Example 1: c# how to add newline on text box
string newLine = Environment.NewLine;
sample = "I am"+newLine+"coming"+newLine+" from " +newLine+ "Forget Code";
Example 2: c# string newline
string text = "fkdfdsfdflkdkfk@dfsdfjk72388389@kdkfkdfkkl@jkdjkfjd@jjjk@";
text = text.Replace("@", "@" + System.Environment.NewLine);