示例#1
0
        public void XmlSerialize()
        {
            Abc o   = new Abc();
            var str = o.XmlSerialize();

            o = str.XmlDeserialize <Abc>();
        }
示例#2
0
        public void XmlSerializeArray()
        {
            var o = new Abc[2];
            o[0] = new Abc();
            o[1] = new Abc();

            var str = o.XmlSerialize();
            o = str.XmlDeserialize<Abc[]>();
        }
示例#3
0
        public void XmlSerializeArray()
        {
            var o = new Abc[2];

            o[0] = new Abc();
            o[1] = new Abc();

            var str = o.XmlSerialize();

            o = str.XmlDeserialize <Abc[]>();
        }
示例#4
0
 public void XmlSerialize()
 {
     Abc o = new Abc();
     var str = o.XmlSerialize();
     o = str.XmlDeserialize<Abc>();
 }