文件头的Using是Using指令,不是using语句
using (TextWriter tw = File.CreateText("xixi.txt"))
{
tw.WriteLine("XiXi");
}