在C#/ .NET中创建空文件的最简单/规范方法是什么?
到目前为止我能找到的最简单的方法是:
System.IO.File.WriteAllLines(filename, new string[0]);
.net c#
.net ×1
c# ×1