How to serialize MultiDimensional Array C#

Saturday, March 2, 2013

if you ever tried to serialized statement that includes something like in WCF either or just for saving Data, you probably found yourself Dealing with the Next Ugly Exception “Cannot serialize object of type (Namespace.Class) . Multidimensional arrays are not supported”. Well, the bad news is there isn’t any trick for make it works , the Problem is in the way that Multidimensional Array is really compiled behind the scene , and it simply an regular array what made the Serializer Engine blind since the access to internal array is blocked , the question is why the architectures of serializing in Dot Net has leave that dark corner...
6 תגובות