empty a file in c# code example Example: how to create empty text file in c# using (File.Create(filename)) ;