How can I condense this code in C# : <p>I want to know how to condense this working code. Its just for a simple game of go fish I made with a partner for our third day in C# class. This seems to be a ton of code for something Im sure can be condensed to a few lines.  </p>

<p>C# code the part need help on</p>

<pre><code>        int count1 = 0;
            int count2 = 0;
            int count3 = 0;
            int count4 = 0;
            int count5 = 0;
            int count6 = 0;
            int count7 = 0;
            int count8 = 0;
            int count9 = 0;
            int count10 = 0;
            int count11 = 0;
            int count12 = 0;
            int count13 = 0;
        // System.Console.WriteLine("HI THERE LOOK AT ME " + player1.numOfCardsInHand());
        for(int y = player1.numOfCardsInHand()-1; y &gt;= 0 ; y--)
        {

            if(player1.getListObject()[y].val == 1)
            {
                count1++;
            }
            if(player1.getListObject()[y].val == 2)
            {
                count2++;
            }
            if(player1.getListObject()[y].val == 3)
            {
                count3++;
            }
            if(player1.getListObject()[y].val == 4)
            {
                count4++;
            }
            if(player1.getListObject()[y].val == 5)
            {
                count5++;
            }
            if(player1.getListObject()[y].val == 6)
            {
                count6++;
            }
            if(player1.getListObject()[y].val == 7)
            {
                count7++;
            }
            if(player1.getListObject()[y].val == 8)
            {
                count8++;
            }
            if(player1.getListObject()[y].val == 9)
            {
                count9++;
            }
            if(player1.getListObject()[y].val == 10)
            {
                count10++;
            }
            if(player1.getListObject()[y].val == 11)
            {
                count11++;
            }
            if(player1.getListObject()[y].val == 12)
            {
                count12++;
            }
            if(player1.getListObject()[y].val == 13)
            {
                count13++;
            }
            if(count1 == 4)
            {
                player1Points++;
                player1.getListObject().RemoveAll(u =&gt; u.Equals("1"));
            }
            if(count2 == 4)
            {
                player1Points++;
                player1.getListObject().RemoveAll(u =&gt; u.Equals("2"));
            }
            if(count3 == 4)
            {
                player1Points++;
                player1.getListObject().RemoveAll(u =&gt; u.Equals("3"));
            }
            if(count4 == 4)
            {
                player1Points++;
                player1.getListObject().RemoveAll(u =&gt; u.Equals("4"));
            }
            if(count5 == 4)
            {
                player1Points++;
                player1.getListObject().RemoveAll(u =&gt; u.Equals("5"));
            }
            if(count6 == 4)
            {
                player1Points++;
                player1.getListObject().RemoveAll(u =&gt; u.Equals("6"));
            }
            if(count7 == 4)
            {
                player1Points++;
                player1.getListObject().RemoveAll(u =&gt; u.Equals("7"));
            }
            if(count8== 4)
            {
                player1Points++;
                player1.getListObject().RemoveAll(u =&gt; u.Equals("8"));
            }
            if(count9 == 4)
            {
                player1Points++;
                player1.getListObject().RemoveAll(u =&gt; u.Equals("9"));
            }
            if(count10 == 4)
            {
                player1Points++;
                player1.getListObject().RemoveAll(u =&gt; u.Equals("10"));
            }
            if(count11 == 4)
            {
                player1Points++;
                player1.getListObject().RemoveAll(u =&gt; u.Equals("11"));
            }
            if(count12 == 4)
            {
                player1Points++;
                player1.getListObject().RemoveAll(u =&gt; u.Equals("12"));
            }if(count13 == 4)
            {
                player1Points++;
                player1.getListObject().RemoveAll(u =&gt; u.Equals("13"));
                }


            }
</code></pre>
