public static void Main(String[] args) { System.Console.Write("Test Complex Data Structure \n"); Complex ser = buildObj(); serialize(ser); byte[] res = deserialize(); Complex deser = new Complex(); deser.deserialize(new MemoryStream(res)); compare(ser, deser); }