I am writing an app in C# to serialize and array of double or float to a single XML element that is a space-delimited list of the values in the array.
double[] d = new double[4] { 1.0, 2.0, 3.0, 4.0 };
to the XML element:
<ArrayOfDouble type="double">1.0 2.0 3.0 4.0</ArrayOfDouble>
I am trying to use the XmlSerializer to perform the serialization. Any help on how to get this done simply would be greatly appreciated.
Tim