how to find duplicate values in array
how to find duplicate values in array using c#
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Manish Kumar ChoudharyPosted Jan 30, 2015, 2:05 AM
try this
int[] s = { 1, 2, 3, 3, 4};
int[] q = s.Distinct().ToArray();