Answers for "c# remove empty lines from richtextbox"

C#
2

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

Code answers related to "c# remove empty lines from richtextbox"

C# Answers by Framework

Browse Popular Code Answers by Language