3
Answers

xml

om prakash

om prakash

11y
899
1
 





 public static void Serialize(AddressDetails details)


  {


  XmlSerializer serializer =


new XmlSerializer(typeof(AddressDetails));


 


using (TextWriter writer = new StreamWriter(@"D:\Om\myXml.xml"))


  {


  serializer.Serialize(writer, details);}




the words which are coloured I got error
Answers (3)