I am serializing an array of Color[]
. Assigning some values of Color
to it at the time of serializing.
ColorList = new Color[] { Color.Red, Color.Blue, Color.Black, Color.Yellow };
At the time of deserialization, I am getting the object back with same array length but the values aren't there. Here is what I am getting -
{Name=0, ARGB=(0, 0, 0, 0)}