I have the below classes:
public class MainRequest
{
private Request _dataField;
[XmlElementAttribute(\"Parameters\")]
public Request Parameters
Try something like
[XmlIgnore]
public Field[][] Batch
{
get
{
return _field;
}
set
{
_field = value;
}
}
[XmlArrayItemAttribute("ParameterEntry", IsNullable = false)]
public Field[] BatchEntry
{
get
{
List OneDimFields = new List();
foreach(Field[] field in _field)
{
OneDimFields.AddRange(field);
}
return OneDimFields.ToArray();
}
}