private void button2_Click(object sender, EventArgs e) { Random random1 = new Random(); Card cardToCheck = new Card(Suits.Clubs, Values.Three); bool doesItMatch = Card.DoesCardMatch(cardToCheck, (Suits)random1.Next(4)); MessageBox.Show(doesItMatch.ToString()); }