static public bool CreateSettingsFile() { string strXML; System.IO.StreamWriter SettingsFile; strXML = "<settings>" + "\r\n"; strXML = strXML + @"<Clients>" + "\r\n"; strXML = strXML + @"<Client FirstName= ""Joe Peter"" Surname= ""Bloggs"" IdentityType =""Identity Document"" IdentityNumber=""7202025074084"" DOB= ""1972/02/02"" />" + "\r\n"; strXML = strXML + @"</Clients>" + "\r\n"; strXML = strXML + @"</settings>" + "\r\n"; SettingsFile = File.CreateText(SettingsPath); SettingsFile.WriteLine(strXML); SettingsFile.Close(); return(true); }