public static void Main()
Console.WriteLine("Hello World");
protected long Catalog_Num;
public clothing(long Catalog_Num , double Price , string Color , string Type)
this.Catalog_Num = Catalog_Num ;
public override string ToString()
return Catalog_Num + " " + Price + " " + Color + " " + Type ;
public class Dress : clothing
public Dress(double Length , long Catalog_Num, double Price, string Color, string Type):base(Catalog_Num, Price, Color, Type)
public void SetLength(double Length)
public override string ToString()
return Length + " " + Catalog_Num + " " + Price + " " + Color + " " + Type;
public class Pants : clothing
public Pants(double Width, long Catalog_Num, double Price, string Color, string Type) : base(Catalog_Num, Price, Color, Type)
public void SetWidth(double Width)
public override string ToString()
return Width + " " + Catalog_Num + " " + Price + " " + Color + " " + Type;
public class Shirt : clothing
public Shirt(double Size, long Catalog_Num, double Price, string Color, string Type) : base(Catalog_Num, Price, Color, Type)
public void SetSize(double Size)
public override string ToString()
return Size + " " + Catalog_Num + " " + Price + " " + Color + " " + Type;