I need to replace New Line with <br>
in the string obtained from a text box.Currently i use this
string text= textbox.Text;
text.Replace(System.Environment.NewLine, "<br>");
But nothing is getting replaced when i test using MessageBox.show(text);