c# how to delete a file

C#
File.Delete(@"C:\Temp\Data\Authors.txt");
Source

Also in C#: