C# 删除指定文件
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApplication5
{
class Program
{
static void Main(string[] args)
{
string pa = @"d:\hello world.pdf";
File.Delete(pa);
Console.ReadKey();
}
}
}