Vote count:
0
Is it possible to use XmlSerializer to serialize this:
<response>
<starttime>10.00</starttime>
<endtime>10.15</endtime>
<starttime>10.15</starttime>
<endtime>10.30</endtime>
</response>
Into this:
public class Reponse {
public TimeInterval[] TimeInterval { get; set; }
}
public class TimeInterval {
public String StartTime { get; set; }
public String EndTime { get; set; }
}
asked 23 secs ago
Deserialize XML string array two and two
Aucun commentaire:
Enregistrer un commentaire