This is a bit of a guess, without seeing your code it is difficult to tell what you are doing wrong. However, the most common error when using random numbers is to re-create the randomiser repeatedly:
for (int i = 0; i < 10; i++)
{
Random r = new Random();
outputMyRandomNumbers[i] = r.Next();
}
This will generate the same number several times in a row, possibly every time depending on when it happens, processor speed, etc.
Change it to a single instance:
Random r = new Random();
for (int i = 0; i < 10; i++)
{
outputMyRandomNumbers[i] = r.Next();
}
And all will be well.