how to delete a file in c# code code example Example: c# how to delete a file File.Delete(@"C:\Temp\Data\Authors.txt");