title: How to deal a deck of cards?
body: <p>I'm trying to create a application to deal a deck of cards. I have already made the deck and also shuffled the deck but I am having trouble dealing it to x number if players 
  Here is what I have so far.</p>
  
  <pre><code>class Dealer
  {
      private string[] suffeledDeck = new string[52];
      private static string[] playerOne = new string[26];
      private static string[] playerTwo = new string[26];
      private static string[] playerThree = new string[26];
      private static string[] playerFour = new string[26];
      private static string[] playerFive = new string[26];
      private static string[] playerSix = new string[26];
      private static string[][] allplayers = new string[][] { playerOne, playerTwo,playerThree,playerFour,playerFive,playerSix };
  
      private int counter = 0;
      private int playerCount = 6;
  
      public Dealer(string[] deck)
      { 
          suffeledDeck = deck;
      }
  
      private void deal()
      {
          for (int i = 0; i &lt; suffeledDeck.Length; i++)
          {
              allplayers[counter][0] = suffeledDeck[i];
              counter++;
              if (counter == playerCount)
              {
                  counter = 0;
              }
          }
      }
  }
  </code></pre>
  
  <p>}</p>