richard smith

richard smith

  • 1.4k
  • 285
  • 160.8k

C# System.Drawing.Color

Jan 16 2013 8:33 AM
I want to pass an error color from one class to another.  I want to use this:
public class Try
{
public static system.drawing.color defaultColor = system.drawing.color.blue;

public static string Defaults{ get { return defaultColor; } }
}

But this brings up an error of Cannot implicitly convert type 'System.Drawing.COlor' to 'string'

Answers (2)