I'm using the writeAlltext method to save a text file with the contents saved in string variable namely textFile1.
File.WriteAllText(saveFileDialog1.FileName, textFile1);
However for each blank line i'm getting two boxes in the output text file. I need to keep the formatting as it is while saving a file. the blank lines are being replaced by the boxes.
Any ideas?