Serearlize class like
public class ListDataModel: List<TestDatamodel>
{
public double D{get;set;}
}
to XML will not generate property D. this is the behaviour, we need to write xml reader/writer function by ourself.
here is a example.
Test functions: