sara shats

sara shats

  • NA
  • 15
  • 0

random is not working(c#)

Mar 19 2009 3:41 AM

Hi,
I used Random class for get random numbers, but it bring me a same number every time.
Here is my code:

Random rnd = new Random();

newArr[j++] = (char)(rnd.Next(65, 122));


any ideas?

thanks.


Answers (8)