예제 #1
0
        public static void Init(ref SsReadonly2 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);
 }