摘要:
private void button1_Click(object sender, RoutedEventArgs e) { XmlTextWriter writer = new XmlTextWriter("MyInfo.xml", System.Text.Encoding.UTF8); //使用自动缩进便于阅读 writer.Formatting = Formatting.Indented; //XML声明 writer.WriteStartDocum... 阅读全文