Exemple #1
0
        public void Func1()
        {
            Phone[] phones = new Phone[10];
            PhoneList pl = new PhoneList(phones);

            phones[5] = new Phone { Number = 123 };
        }
Exemple #2
0
 public PhoneList(Phone[] ph)
 {
     _phones = ph;
     //_phones = new Phone[ph.Length];
     //ph.CopyTo(_phones, 0);
 }