Now, I've been trying to write a program that allows me to have two "players", and each player rolls 5 dice. Then I want to program to tell me which "player" won by calculating who had more dice with the same value (as in, player1 had two dice with the value six, but player2 had three dice with the value four, so player2 won).

I'm not sure how to do this, and my attempts so far have pretty much been useless. If you could shove me in the right direction as to how to solve the problem with how many dice are the same value, it would be great.

Please bear in mind that I'm a relative newbie to C#.

Thanks in advance.