Find the mode

Hi
I want to find the mode

when i pass 65 70 88 70
result->70

88 70 65 70 88
Result->70,88

12 333 54 66
Result->12 54 66 33       (ascending order)
LVL 8
Johny BravoAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

DhaestCommented:
I can't complete follow what you exactly want to achieve..
Do you want a list of numbers that are duplicate in a string ?
0
Johny BravoAuthor Commented:
Yes exacly.
But I want it in a console app
0
DhaestCommented:
How do you input your values ... one by one or all at once ?

Duplicate Words in C#
http://dotnetperls.com/Content/Duplicate-Words.aspx

Removing Duplicates from a List in C#
http://www.kirupa.com/net/removingDuplicates.htm
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Johny BravoAuthor Commented:
Not able to convert it in console app
0
DhaestCommented:
The first link is a console application !
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.