if(!File.Exists(Application.StartupPath +"
\\update.xml"))
{//如果update.xml不存在,就创建
string x = "";
x += "
";
XmlDocument xml = new XmlDocument();
xml.LoadXml(x);
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/23109131/viewspace-665584/
,如需转载,请注明出处,否则将追究法律责任。