Пример #1
0
 public IBM(string name, double price)
 {
     Price       = price;
     investitors = new Investitor[2];
     for (int i = 0; i < 2; i++)
     {
         investitors[i] = new Investitor(name);
     }
 }
Пример #2
0
 public void Detach(Investitor investitor)
 {
     investitors[1] = investitor;
 }
Пример #3
0
 public void Attach(Investitor investitor)
 {
     investitors[0] = investitor;
 }