using System;
using System.Text;
using System.Net;
using cuiplus;
using System.Collections.Generic;
using System.IO;
using System.Data.Linq;

namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
Console.ForegroundColor = ConsoleColor.Yellow;
Console.WriteLine("改变颜色 ");
Console.ForegroundColor = ConsoleColor.White;
/*
FileInfo fi = new FileInfo(@"C:\Users\Administrator\Desktop\as.txt");
/*
Console.WriteLine("创建时间 " + fi.CreationTime);
Console.WriteLine("创建时间UTC " + fi.CreationTimeUtc);
Console.WriteLine("父目录 " + fi.Directory);
Console.WriteLine("目录完整路径 " + fi.DirectoryName);
Console.WriteLine("扩展名 " + fi.Extension);
Console.WriteLine("完整目录 " + fi.FullName);
Console.WriteLine("是否只读 " + fi.IsReadOnly);
Console.WriteLine("上次访问时间 " + fi.LastAccessTime);
Console.WriteLine("上次写入时间 " + fi.LastWriteTime);
Console.WriteLine("大小 " + fi.Length);
Console.WriteLine("名称 " + fi.Name);

using (StreamWriter sw = fi.AppendText())
{
sw.WriteLine("This法兰烦了是女生了");
}
*/
/*
string path = @"C:\Users\Administrator\Desktop\qaz";
Directory.CreateDirectory(path);
*/

}
}
}