lundi 26 janvier 2015

How to check if random values are unique?

C # code:


I have 20 random numbers between 1-100 in an array and the program should check if every value is unique. Now i should use another method which returns true if there are only unique values in the array and false if there are not any unique values in the array. I would appreciate if someone could help me with this.





Aucun commentaire:

Enregistrer un commentaire