public void TestSerializationBinderInNumerables()
        {
            bar[] b = new bar[] { new bar(), new bar(), new bar() };
            b[2].dict.Add("vasya", 12);
            CompactSerializer cs = new CompactSerializer(CSOptions.WithTypes);

            string d = cs.Serialize(b);

            cs.Deserialize <bar[]>(d);
        }
        public void TestSerializationBinder()
        {
            bar b = new bar();

            b.dict.Add("vasya", 12);

            CompactSerializer cs = new CompactSerializer();

            string d = cs.Serialize(b);

            cs.Deserialize <bar>(d);
        }