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