I am creating a random number generator, when a certain number is generated I want the label to change change colour.
Random RandomClass = new Random ();
Num1.Text = RandomClass.Next (1, 49).ToString();
if (Num1.Text >= "9")
{
this.Num1.BackColor = System.Drawing.Color.DarkBlue;
}
Now I know >= "9"
Doesn't work but I can't seem to think of anything else.