I have textbox textbox1 and I want to change text color, but in the part of all text. For example from /* to */ like comm
You will have to derive a control from TextBox and put in code that will either allow the user to change the colour or changes the colour based on your rules.
A RichTextBox will give you the basis for this as it allows different "runs" of text each of which can have it's own styling:
Paragraph 1
Paragraph 2
Paragraph 3
If you add controls for colour etc. then you can create a new run from the user's selection with the required style.