public override string ToString() { string a = String.Format("Produkt: {0}{4}{4}Typ: {1}{4}{4}Cena:{4}{2}{4}{4}Komentarz:{4}{3}", NameOfProduct, Type, PriceOfProduct.ToString(), Comments, Environment.NewLine); return(a); }
public void ChangeCurrency(Waluta a) { PriceOfProduct.ChangeCurrency(a); }