Exemplo n.º 1
0
        //STEP 2. Constructors
        public Deck()
        {
        CardList = new List<Cards>();
    
            for (int j = 1; j <= 4; j++)
            {

                for (int i = 2; i <= 14; i++)
                {
                    Cards card = new Cards((Rank)i, (Suit)j);
                    
                    this.CardList.Add(card);
                }
            }
        }