If you just want to get random numbers use the class Random and call its method Random.Next each time you want a new value

here's an example

Random r = new Random();
int i = r.Next();