Hi,
Does anyone know how to write out quotes in a text file using the File class e.g
I want the file to say <?xml version="1.0"....>
I am currently doing this -
using (StreamWriter sw = File.CreateText(path))
{
sw.WriteLine("<?xml version='1.0'>");
}
this returns <?xml version='1.0'....> which is no good
ANY IDEAS???
Does anyone know how to write out quotes in a text file using the File class e.g
I want the file to say <?xml version="1.0"....>
I am currently doing this -
using (StreamWriter sw = File.CreateText(path))
{
sw.WriteLine("<?xml version='1.0'>");
}
this returns <?xml version='1.0'....> which is no good
ANY IDEAS???