Пример #1
0
        public UT_DiffObj()
        {
            arrComplex2[0] = new UT_DiffChildObj();
            arrComplex2[1] = null;

            listPlain1.AddRange(new int[] { 4, 5, 6 });
            listPlain2.AddRange(new string[] { "four", "five", "six" });

            listComplex2.Add(new UT_DiffChildObj());
            listComplex2.Add(new UT_DiffChildObj());

            dictPlain1[20] = 20;
            dictPlain1[21] = 21;
            dictPlain1[22] = 22;

            dictPlain2["twenty"]    = "twenty";
            dictPlain2["twentyone"] = "twentyone";
            dictPlain2["twentytwo"] = "twentytwo";

            dictComplex2[30] = new UT_DiffChildObj();
            dictComplex2[31] = new UT_DiffChildObj();
            dictComplex2[32] = new UT_DiffChildObj();
        }
Пример #2
0
        public UT_DiffObj()
        {
            arrComplex2[0] = new UT_DiffChildObj();
            arrComplex2[1] = null;

            listPlain1.AddRange(new int[] { 4, 5, 6 });
            listPlain2.AddRange(new string[] {"four", "five", "six"});

            listComplex2.Add(new UT_DiffChildObj());
            listComplex2.Add(new UT_DiffChildObj());

            dictPlain1[20] = 20;
            dictPlain1[21] = 21;
            dictPlain1[22] = 22;

            dictPlain2["twenty"] = "twenty";
            dictPlain2["twentyone"] = "twentyone";
            dictPlain2["twentytwo"] = "twentytwo";

            dictComplex2[30] = new UT_DiffChildObj();
            dictComplex2[31] = new UT_DiffChildObj();
            dictComplex2[32] = new UT_DiffChildObj();
        }