File.Delete static method, deletes file from your code...
You can delete a file from your application with the code below
System.IO.