Hi when I do this:
using (XmlWriter xw = new XmlTextWriter(fcService.SetCIRIFilePath(), Encoding.UTF8))
{
debts.Save(xw);
xw.Flush();
}
My debts object is a XDocument object which I populated using LINQ to XML. However when I save it, it looks fine in notepad, but when opened with a binary/hex editor it shows these 3 characters at the start of the XML:
<?xml version
This is stopping it being parsed by a 3rd party. Any ideas how I can stop it doing that?