convert multiple xml files to single xml file c# code example
Example: merge xml files into one c#
using (var output = File.Create(originalFileName))
{
foreach (var file in new[] { "File1", "File2" })
{
using (var input = File.OpenRead(file))
{
input.CopyTo(output);
}
}
}