BG
Size: a a a
BG
BG
BG
t
eo
BG
BG
BG
BG
eo
eo
BG
t
t
eo
class Product
{
public string name { get; set; }
public string model { get; set; }
public float price { get; set; }
public int Ram { get; set; }
public int Rom { get; set; }
public Product(string name, string model, float price, int Ram, int Rom)
{
this.name = name;
this.model = model;
this.price = price;
this.Ram = Ram;
this.Rom = Rom;
}
}
class Smartphons: Product
{
public float displaySize { get; set; }
public string osVersion { get; set; }
public Smartphons(string name, string model, float price, int Ram, int Rom, float displaySize, string osVersion):base(name, model, price, Ram, Rom)
{
this.displaySize = displaySize;
this.osVersion = osVersion;
}
}
BG
VZ
АГ
VZ