How to check the row and column in richtextbox?

How to check the row and column in richtextbox?
int i = richTextBox1.SelectionStart;
int line = richTextBox1.GetLineFromCharIndex(i);
label1.Text = line.ToString();

int fc = richTextBox1.GetFirstCharIndexFromLine(line);
int column = i - fc;
label2.Text = column.ToString();
it is wrong
June 8th 19 at 16:59
1 answer
June 8th 19 at 17:01
The question is how many string columns.
I mean? - cade.Beier commented on June 8th 19 at 17:04

Find more questions by tags C#C++