SyntaxFix
Write A Post
Hire A Developer
Questions
File.WriteAllText("path", String.Empty);
or
File.CreateText("path").Close();