I have the following class:
public class DisplayFunction
{
[System.Xml.Serialization.XmlAttribute()]
public byte[] Color
{
get;
set;
}
[System.Xml.Serialization.XmlAttribute()]
public FunctionShape Shape
{
get;
set;
}
[System.Xml.Serialization.XmlAttribute()]
public int Id
{
get;
set;
}
}
I am using xml serializer and getting the result:
<DisplayFunctions Color="et57hQ==" Shape="Bar" Id="514" />
while i want the result to be:
<DisplayFunctions Color="122,222,123,133" Shape="Bar" Id="514" />
How can I get that result ?