CSharp examples for File IO:File Command
Delete File
using System.IO ; using System.Windows.Forms ; using System;/* w w w . j av a 2s . c o m*/ public class Main{ public static void DeleteFile(string filePath) { if (File.Exists(filePath)) { File.Delete(filePath); } } }