c# code contains \n store into javacript varible code example
Example: javascript variable
var user_name = prompt("Please enter your name:", "Type here");
alert("Hello " + user_name);
var user_name = prompt("Please enter your name:", "Type here");
alert("Hello " + user_name);