Write text to file

From , 4 Years ago, written in C#, viewed 51 times.
URL https://pastebin.vip/view/f4666b1c
  1. public void WirteFile(string index, string path)
  2.         {
  3.             StreamWriter writer = File.AppendText(path);
  4.             writer.WriteLine(DateTime.Now.TimeOfDay.ToString() + "\t" + index);
  5.             writer.Flush();
  6.             writer.Close();
  7.         }
  8. //csharp/1116

Reply to "Write text to file"

Here you can reply to the paste above

captcha

https://burned.cc - Burn After Reading Website