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