/// <summary> /// Appends a number of Environment.NewLine strings to the current text of a text box. /// </summary> /// <param name="textBox"></param> /// <param name="count"></param> public static void NewLine(this TextBoxBase textBox, int count = 1) { for (var i = 0; i < count; i++) { textBox.Append(Environment.NewLine); } }