using System; using System.IO; public class WriteFileStuff { public static void Main() { FileStream fs = new FileStream("c:\\tmp\\WriteFileStuff.txt", FileMode.OpenOrCreate, FileAccess.Write); StreamWriter sw = new StreamWriter(fs);
Be Different with excellent knowledge A Devloper Blog....
Showing posts with label write a line to a file. Show all posts
Showing posts with label write a line to a file. Show all posts
Saturday, February 26, 2011
Write A Line to a file
Subscribe to:
Posts (Atom)
-
Make Your Own Notepad In this tutorial we will be making a simple C# Notepad with the option to Clear, Cut, Copy, Paste, Select All, Save...