public override void CreateFolderFile(string folder)
{
XDocument doc = new XDocument();
XElement root = new XElement("strings", new XAttribute("count", this.Strings.Count));
doc.Add(root);
for (int i = 0; i < this.Strings.Count; ++i)
{
root.Add(new XElement("string", new XAttribute("index", i), this.Strings[i]));
}
string fileName = System.IO.Path.Combine(folder, "strings.xml");
using (FileStream stream = System.IO.File.Create(fileName))
{
doc.Save(stream);
}
}