om prakash

om prakash

  • NA
  • 281
  • 103.9k

xml

Jul 22 2013 8:22 AM
public static void Main(string[] args)
{
  XmlSerializer deserializer = new XmlSerializer(typeof(Address));
  TextReader reader = new StreamReader(@"D:\myXml.xml");
  object obj = deserializer.Deserialize(reader);
  Address XmlData = (Address)obj;
  reader.Close();
}
used this code but not showing any outputs.....hjust excuting and no result...

deserialize is nothing but converting xml file into normal form

Answers (1)