How to get the most common value in an Int array? (C#)

Posted by mouthpiec on Stack Overflow See other posts from Stack Overflow or by mouthpiec
Published on 2010-04-16T19:58:13Z Indexed on 2010/04/16 20:03 UTC
Read the original article Hit count: 183

Filed under:
|
|

How to get the most common value in an Int array using C#

eg: Array has the following values: 1, 1, 1, 2

Ans should be 1

© Stack Overflow or respective owner

Related posts about c#

Related posts about int