om prakash

om prakash

  • NA
  • 281
  • 103.9k

xml

Jul 22 2013 5:34 AM
 





 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)