CSharp examples for System.IO:Text File
File Add Content
using System.Data; using System.Text; using System.IO;/*from w ww .j a v a 2 s . c o m*/ using System; public class Main{ public static void FileAdd(string Path, string strings) { StreamWriter sw = File.AppendText(Path); sw.Write(strings); sw.Flush(); sw.Close(); } }