public ProductInfo(string pName, string pType) { name = pName; type = pType; GetSizeCost(pType); } public void GetSizeCost(string pType)