There was such a question. I have two lines in RichTextBox, and I have to add a number to the first line of the RichTextBox when I click the button. I did by analogy with TextBox.
richTextBox1.Lines[0] += "1"; However, the action is not performed. For clarity, I give an example with TextBox.
textBox1.Text += "1"; What is the problem, what is the subtlety here?