mercredi 22 août 2018

How Can I Set the lenght, max value and random value in a array?

I need to do an array in C# and sets it's length and max and min value before giving it a random value. For example:

The First time it runs it can give this value, as you can see, the array lenght is of 10 numbers, and this numbers aren't bigger than 10.

1234567890

The second time, it can give something like this:

7892563048

It respect the rules before mentioned, but, with random numbers, do you know how can I do this?




Aucun commentaire:

Enregistrer un commentaire