public void Display()
 {
     Console.WriteLine(CardNumber + ", " + FlavorText);
     Console.WriteLine(Strain);
     Console.WriteLine("Red    : " + Red.ToString());
     Console.WriteLine("Orange : " + Orange.ToString());
     Console.WriteLine("Yellow : " + Yellow.ToString());
     Console.WriteLine("Blue   : " + Blue.ToString());
 }
Example #2
0
 public override string ToString()
 {
     return(String.Format("C={0}, M={1}, Y={2}, K={3}", new string[]
     {
         Cyan.ToString(),
         Magenta.ToString(),
         Yellow.ToString(),
         Black.ToString(),
     }));
 }
Example #3
0
 /// <summary>
 /// Returns a System.String object that represents the current object.
 /// </summary>
 /// <returns>Text as a sequence of Unicode characters</returns>
 public override string ToString()
 {
     return(Red.ToString() + "\n" + Yellow.ToString() + "\n" + Blue.ToString());
 }
Example #4
0
 /// <summary>
 /// Returns a System.String object that represents the current object.
 /// </summary>
 /// <returns>Text as a sequence of Unicode characters</returns>
 public override string ToString()
 {
     return(Cyan.ToString() + "\n" + Magenta.ToString() + "\n" + Yellow.ToString() + "\n" + Keycolor.ToString());
 }