following C# code helps you to delete a file.
// Include the following namespace:
using System;
using System.IO;
// To delete a file, follow this format
File.Delete("c:\\file.txt");
No comments:
Post a Comment