Exemplo n.º 1
0
        Person(int birthYear)
        {
            setter = i => { _birthDay = i; };

            System.Threading.Thread t1 = new System.Threading.Thread
                                             (delegate()
            {
                _birthDay2 = i;
            });
            t1.Start();

            _birthYear = birthYear;

            Mod.DoSomething(ref this._birthDay3);
            Mod.DoSomething2(out _birthDay4);
        }
Exemplo n.º 2
0
 private void M()
 {
     Mod.DoSomething(ref this._birthDay3);
     Mod.DoSomething2(out _birthDay4);
 }