Hi i am doing a small project in C#, and i need to know what commands are comming from input source so i can do my work accordingly..
here is example…
textBox1.Text = "First line \nSecond line";
richTextBox1.Text = "First line \nSecond line";
Richtextbox shows this output:
First line
Second line
Textbox show this output:
First line Second line
please tell me how to show new line "\n" or return "\r" or similar input as a character output in text or richtextbox. so i can know that newline command is coming from input data.
for example text or richtext box will show this output.
First line \nSecond line
thankx in advance.
Lets say that i have a string which have new line :
Now that i want to show that there is new line in my text there you go :
This will show the newline chat with % sign