把list集合的内容写入到Xml中,通过XmlDocument方式写入Xml文件中
Listlist=newList{newPerson{Name="张三",Age=20,Email="[email protected]"},newPerson{Name="李四",Age=30,Email="[email protected]"},newPerson{Name="王五",Age=22,Email="[email protected]"},newPerson{Name="赵柳",Age=20,Email="