Adding new line of data to TextBox

If you use WinForms: Use the AppendText(myTxt) method on the TextBox instead (.net 3.5+): private void button1_Click(object sender, EventArgs e) { string sent = chatBox.Text; displayBox.AppendText(sent); displayBox.AppendText(Environment.NewLine); } Text in itself has typically a low memory footprint (you can say a lot within f.ex. 10kb which is “nothing”). The TextBox does not render all text … Read more