public Deck()
        {

            Cards = new List<Card>();

            for (int s = 1; s <= 4; s++)
            {
                var suit = (Suit)s;

                for (int r = 1; r <= 13; r++)
                {
                    var rank = (Rank)r;
                    var card = new Card
                    {
                        Rank = rank,
                        Suit = suit
                    };

                    Cards.Add(card);
                }
            }
        }
 private static string CardString(Card card)
 {
     return string.Format("[ {0} ]", !card.IsFaceUp ? "XXXXXXXXX" : card.ToString());
 }