write text in new line in c# 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: console writeline new line c#
Console.WriteLine("This is a line");
Console.WriteLine();
Console.WriteLine("This is another line");