Posts by Andre • 146 points
2 posts
-
1
votes1
answer38
viewsA: Repeated hunch
The easiest way is to check each entry, in a loop, and only add to the list after checking that the number is not repeated: Console.WriteLine("Insere o teu palpite de 6 números: "); List<int>…
-
2
votes1
answer110
viewsA: "Escape" file string externally loaded
A byte array is not a string and should not be treated as such. They are just bytes, which happen to become a character with an accent by mere chance. If you remove the accent, you will change the…