title: How to merge multiple RTF files into one RTF in C#
body: <p>I'm trying to merge multiple rtf documents into one. the size of the merged is increased (size of all the documents) but when i open, i could see only the first RTF file content only.</p>
  
  <pre><code>string srcpath = @"C:\CSI\RTFtest\src\";
          string despath = @"C:\CSI\RTFtest\dest\single.rtf";
          string content = "";
          List&lt;string&gt; files = new List&lt;string&gt;(Directory.GetFiles(srcpath, "*.rtf"));
          StreamReader read;
          if (files.Count &gt; 1)
          {
              for (int i = 0; i &lt; files.Count; i++)
              {
                  String filename = files[i];
                  content = File.ReadAllText(filename);                    
                  //content = content + read.ReadToEnd();
                  File.AppendAllText(despath, content.ToString());
                  File.AppendAllText(despath, System.Environment.NewLine);
  
  
              }
  </code></pre>