摘要: private const string filename = "demo.xml"; static void Main(string[] args) { XmlTextWriter writer=new XmlTextWriter(filename,null); //进行输出格式缩进设置 writer.Formatting = Formatting.Indented; //写XML声明 writer.WriteStartDocument(); ... 阅读全文
posted @ 2012-09-10 18:50 yxyht 阅读(516) 评论(0) 推荐(0) 编辑