2
Answers

C# System.Drawing.Color

richard smith

richard smith

11y
3.1k
1
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)