Creating a new file and writing to it
Remember to reference
using System.IO;
StreamWriter test =new StreamWriter("C:/new.txt");
test.Write("helo");
test.Close();
using System.IO;
StreamWriter test =new StreamWriter("C:/new.txt");
test.Write("helo");
test.Close();
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home