摘要:以下的代码演示了如何使用LINQ to XML来快速创建一个xml:隐藏行号 复制代码 ? 创建 XMLpublic static void CreateDocument(){ string path = @"d:\website"; XDocument xdoc = new XDocument(new XDeclaration("1.0", "utf-8", "yes"), new XElement("Root", "root")); xdoc.Save(path);}运行
阅读全文
02 2013 档案

浙公网安备 33010602011771号