public Display(NumberOfColors? numberOfColors, double size)
 {
     this.NumberOfColors = numberOfColors;
     this.Size = size;
 }
Пример #2
0
 public override string ToString()
 {
     return(Size.ToString() + "\", " + NumberOfColors.ToString() + " colors");
 }