示例#1
0
        public static void Init(CcReadonly2 oo, int seed)
        {
            oo.II = seed;
            oo.SS = seed.ToString();
            oo.LL = new List <int>()
            {
                seed
            };

            SsReadonly1.Init(ref oo.SR, seed);

            oo.CR = new CcReadonly1();
            CcReadonly1.Init(oo.CR, seed);
        }
示例#2
0
 public TestRefReturn()
 {
     SsReadonly2.Init(ref _sr, 1000);
     _cr = new CcReadonly2();
     CcReadonly2.Init(_cr, 2000);
 }