Why didn't you asked that question in the first place?
I'm affraid it can't be done in a normal textbox.
But it can certainly be done in a RichTextBox.
I have not tried it but this should work:
MyRichTextBox.Select(6,1);//select char 6 from my text
MyRichTextBox.SelectionColor=Color.Red;//color this red
Open your help menu and choose search, type RichTextBox for more information
I have a 2d matrix with dimension (3, n) called A, I want to calculate the normalization and cross product of two arrays (b,z) (see the code please) for each column (for the first column, then the second one and so on).
the function that I created to find the ...
Hi. I have a form with list box : lst_product, datagridview : grd_order and button: btn_addline. lst_product has a list of product ids selected from database (MS Acess 2013) , grd_order is by default empty except for 2 headers and btn_addline adds rows to grd_order.