I've got the following "writelines" being used to write text to an output file:
...
sw.WriteLine("This is line 1");
sw.WriteLine("This is line 2");
sw.WriteLine(" File name: C:\MyFile.txt");
...
The problem is the third line. I get an "Unrecognized Escape Sequence" error (no docs available in Help). I simply want to print that text...I'm not trying to issue any commands/instructions or stuff like that. It is simply for "report generation". Shouldn't the Writeline command simply print whatever is within the quotes?
Comment