How to delete files?

Rajni.Shekhar
Posted by Rajni.Shekhar under ASP.NET category on | Points: 40 | Views : 1021
        FileInfo objFileInfo = new FileInfo(@"c:\MyFile.txt");
objFileInfo.Delete();

Comments or Responses

Login to post response