using System.IO;
Code :
//savefile StreamWriter file = new StreamWriter(string path); file.WriteLine(string msg); //get data from string or textBox and save text file @ chosen path file.Close(); //loadfile StreamReader file = new StreamReader(string path); string txt = file.ReadToEnd(); file.Close();
No comments:
Post a Comment