Hello Everyone,
I need to deserialize below xml object into the respective models below. how to do this. please suggest me
Markdown
102
ABC
JOHN
IX
13
Taylor
IIX
11
103
BCD
CHRIS
IV
9C#
public class School
{
public List StudentList;
public int SchoolID { get; set; }
public string SchoolName { get; set; }
}
public class Student
{
public string StudentName { get; set; }
public string ClassName { get; set; }
public int ? Age { get; set; }
}Thanks,
Krish
Nitin SontakkeRank #264 · 9.6K reputationPosted Jul 8, 2021, 1:08 AM EDT
Arnab MukherjeeRank #879 · 2.5K reputationPosted Jul 8, 2021, 4:43 AM EDT
Shweta LodhaRank #31 · 39.8K reputationPosted Jul 8, 2021, 1:13 AM EDT
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts