Answers for "remove line in textbox c#"

C#
3

remove a specific line in richtextbox c#

List<string> Lines = richTextBox.Lines.ToList();
int lineToRemove = 0;
Lines.RemoveAt(lineToRemove);
richTextBox.Lines = Lines.ToArray();
Posted by: Guest on August-09-2021

C# Answers by Framework

Browse Popular Code Answers by Language