how to deserialize the below xml :
Need to read AdapterName,ConnectorIndex and ViewType
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Manas MohapatraRank #182 · 13.2K reputationPosted Sep 7, 2015, 2:18 AM EDT
Shashank Patil169 reputationPosted Sep 7, 2015, 2:22 AM EDT
[XmlElement("Adapter")]
public List
[XmlElement("Monitors")]
public List
}
{
[XmlAttribute("ConnectorIndex")]
public string connectorIndex { get; set;}
[XmlAttribute("ViewType")]
public string viewType { get; set;}
}
class Monitor
{
[XmlAttribute("ConnectorIndex")]
public string connectorIndex { get; set;}
[XmlAttribute("ViewType")]
public string viewType { get; set;}
}