Guid
string FileName=Test+DateTime.Now.ToString().Replace("/", "").Replace(".", "").Replace(":", "").Replace(" ", "")+".txt"; string text = "Test string to write inside the text file"; System.IO.File.WriteAllText(@FileName, text);
string path = @"D:\"; string fileName = "TestFile" + DateTime.Now.ToString().Replace("/", "").Replace(":", "").Replace(" ", "") + ".txt"; File.Create(path + fileName);
string myText = "Your Text"; string myFile = System.Guid.NewGuid().ToString() + ".txt"; System.IO.File.WriteAllText(myFile, myText);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)