How to customize the xml using xmlserializer in C#?
<p>I have the following class:</p>

<pre><code>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;
        }
}
</code></pre>

<p>I am using xml serializer and getting the result:</p>

<pre><code>&lt;DisplayFunctions Color="et57hQ==" Shape="Bar" Id="514" /&gt;
</code></pre>

<p>while i want the result to be: </p>

<pre><code> &lt;DisplayFunctions Color="122,222,123,133" Shape="Bar" Id="514" /&gt;
</code></pre>

<p>How can I get that result ?</p>
