[Solved] XmlSerializer Giving a Null exception in c#

[ad_1]

This doesn’t look right:

 [XmlArray("Pages")]
 [XmlArrayItem("Page", typeof(SiteSource))] <-- should be typeof(Page)?
 public SortableBindingList<Page> Pages

1

[ad_2]

solved XmlSerializer Giving a Null exception in c#