Do a replace on \n, and replace it with System.Environment.NewLine (assuming you're putting that into a textbox or the likes.)