string path = Application.StartupPath +".txt"
//string path = Application.StartupPath当前项目路径
FileStream fs = new FileStream(path, FileMode.Truncate, FileAccess.ReadWrite);
//path :文件的路径
f s.Close();
//关闭
string path = Application.StartupPath +".txt"
//string path = Application.StartupPath当前项目路径
FileStream fs = new FileStream(path, FileMode.Truncate, FileAccess.ReadWrite);
//path :文件的路径
f s.Close();
//关闭