Deleting a file

Hi,

What is the easiest way to delete a text file

Thanks,

Bruce



Answer this question

Deleting a file

  • cya

    File.Delete("C:\\MyText.txt");

  • Deleting a file