2
Answers

\n line break in asp.net core not working for last string

var description="some text"+"\n some text 2" +"\n some text 3";
 
Output:
some text
some text 2 some text 3.
 
why some text 3 is also showing wrong output with some text 2 instead of breaking line. 

Answers (2)