Deleting a file

You can delete a file from your application with the code below

System.IO.File.Delete("C:\\Test.txt");