Answers for "how to add to a string in next line in c#"

C#
4

c# how to add newline on text box

string newLine = Environment.NewLine;
sample = "I am"+newLine+"coming"+newLine+" from " +newLine+ "Forget Code";
Posted by: Guest on March-07-2020
0

c# string newline

string text = "fkdfdsfdflkdkfk@dfsdfjk72388389@kdkfkdfkkl@jkdjkfjd@jjjk@";

text = text.Replace("@", "@" + System.Environment.NewLine);
Posted by: Guest on March-22-2022

Code answers related to "how to add to a string in next line in c#"

C# Answers by Framework

Browse Popular Code Answers by Language