Xml
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
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Iftikar HussainRank #423 · 5.9K reputationPosted Jul 22, 2013, 1:37 AM EDT
What error message you are getting?
Regards,
Iftikar
darma tejaRank #3,199 · 449 reputationPosted Jul 22, 2013, 1:39 AM EDT
Iftikar HussainRank #423 · 5.9K reputationPosted Jul 22, 2013, 1:39 AM EDT
using System.IO;
Regards,
Iftikar