class Storehouse
{
private Product[] products ;
public int number;
public Storehouse(int n)
{
if (n <= 10)
Add(products n);
}
public bool Add(Product a)
{
}
public Product getProduct(string name)
{
}
}
用上面的代码写一个仓库管理系统