Append Text to file - CSharp System.IO

CSharp examples for System.IO:Text File

Description

Append Text to file

Demo Code


using System.Text;
using System.IO;/*  w  w w. java 2  s  .co m*/
using System.Net;
using System;

public class Main{
        public static void AppendText(string filePath, string content)  
        {  
            File.AppendAllText(filePath, content);  
        }
}

Related Tutorials