How to put time stamp as a file name to a output txt file in C# scriptSystem.IO.File.AppendAllText(@"C:\\izaz\\test.txt",Envireonment.NewLine+"Duration: "+s+Environment.NewLine);I want to have time stamp instead of default file name "test" 解决方案 这篇关于如何将时间戳作为文件名放入C#脚本中的输出txt文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!