What\'s the simplest/canonical way to create an empty file in C#/.NET?
The simplest way I could find so far is:
System.IO.File.WriteAllLines(filename
File.WriteAllText("path", String.Empty);
or
File.CreateText("path").Close();