This is the best option that you need choose if you want to write a empty file, it's easy and short
File.WriteAllText("path", String.Empty);