using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
namespace File类的操作
{
class Program
{
static void Main(string[] args)
{
//if (File.Exists(@"D:\asd.text"))
//{
// Console.Write("文件已存在!");
// Console.ReadLine();
//}
//else
//{
// File.Create(@"D:\123.text");
// Console.WriteLine("创建成功");
//}
//File.Delete(@"D:\123.text");
//Console.Write("删除成功");
//Console.ReadLine();
//File.Copy(@"D:\asd.txt", @"D:\Users\asd.txt");
//Console.Write("复制成功");
//Console.ReadLine();
File.Move(@"D:\asd.txt",@"D:\Users\asd.txt");
Console.Write("剪切成功");
Console.ReadLine();
}
}
}