示例#1
0
        static void Init(ref SsOut1 outer)
        {
            outer.ii = 100;
            outer.ss = nameof(outer);
            outer.ll = new List <int>()
            {
                100, 200, 300
            };
            Init(ref outer.innerSs);

            outer.innerCc = new CcIn1();
            Init(outer.innerCc);
        }
示例#2
0
 static void NewAndInit(out SsOut1 oo)
 {
     oo = new SsOut1();
     Init(ref oo);
 }