string mystring = "This is a two line message\nThis is the second line"; mystring = mystring.Replace(@"\n","\n"); // Bingo !!