C#: Inserting New Line in Multiline Textbox
// Make sure MultiLine property is true and use "\r\n"
TextBox1.Text = "First line\r\nSecond line";
DZone Snippets > user-interface
11304 users tagging and storing useful source code snippets
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
TextBox1.Text = "First line\r\nSecond line";