How do I add line break to a string?
Category: System, viewed: 401 time(s).
To add line break to a string you can use the Environment.NewLine constant or you can directly use the line break string literal such as \r\n or just \n.
The program above create the following output:
First Line Second Line Third Line First Level Second Level Third Level
Download Hundreds of Complimentary Industry Resources
Get hundreds of popular Industry magazines, white papers, webinars, podcasts, and more;
all available at no cost to you. With more than 600 complimentary offers, you'll find
plenty of titles to suit your professional interests and needs.
Click Here and Sign up today!