Simple one really. I'm more than happy to do this manually but I was wondering whether or not there are any nifty in-built .net methods that can essentially return either the number of occurrences of each element in an array, or simply return the modal value.

This is fairly straightforward to achieve manually but I was just wondering out of curiosity whether or not Microsoft has already done the work for us here?

Jordan