Exemple #1
0
        public Card()
        {
            Random randomCardValue = new Random();

            this.CardValue = randomCardValue.Next(2, 14);
            this.CardSuit  = randomSuitValue.ToString();
        }
Exemple #2
0
        public Card()
        {
            Random randomCardValue = new Random();

            this.CardValue = (int)randomCardValues;
            this.CardSuit  = randomSuitValue.ToString();
        }
Exemple #3
0
 public Card()
 {
     this.CardValue = value.Next(1, 7);
     this.CardSuit  = SuitValue.ToString();
 }