Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

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);
    }
  }
}
 
PREVIOUS NEXT
Tagged: #merge #xml #files
ADD COMMENT
Topic
Name
1+7 =