merge xml files 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);
}
}
}