append to a text file
Published: 3. November 2011 | Updated: 3. November 2011License: Microsoft Public License (MS-PL)
Categories: File system » Files
Tags: C# File System Text
Import namespace
using System.IO;
Code
string path = @"C:\Folder\file.txt"; string content = "text"; File.AppendAllText(path, content);
| Send us feedback about this snippet » |





