If I have two string of xml1 and xml2 which both represent xml in the same format. What is the fastest way to combine these together? The format is not important, but I ju
This is the fastest and cleanest way to merge xml files.
XElement xFileRoot = XElement.Load(file1.xml); XElement xFileChild = XElement.Load(file2.xml); xFileRoot.Add(xFileChild); xFileRoot.Save(file1.xml);