public Player(string n,int i,Deck d)
        {
            name = n;
            pile = new List<Card>(d.CardDeck.Count/2);

            for(int c=0 ; c < d.CardDeck.Count/2 ; i++,c++)
            {
                pile.Add(d.CardDeck[i]);
            }
        }
 public Player()
 {
     Dp = new Deck();
     Point = 0;
     Count = 0;
 }
 public static void SetUpCard()
 {
     mainDeck = new Deck(13, 4);
     mainDeck.Shuffle();
 }
        private void Setup()
        {
            int Nplayer;
            Console.Write("How many deck? :");

            try { Nplayer = Convert.ToInt32(Console.ReadLine()); }
            catch(Exception e) { Nplayer = 1; }

            deck = new Deck(Nplayer);

            string name1, name2;
            Console.Write("Enter Player 1 name:");
            name1 = Console.ReadLine();
            player1 = new Player(name1, 0, deck);

            Console.Write("Enter Player 2 name:");
            name2 = Console.ReadLine();
            player2 = new Player(name2, 26, deck);
        }