static void Main(string[] args) { GenerateRandom rand = new GenerateRandom(10); for (int i = 0; i < 25; i++) { Console.WriteLine(rand.nextInt()); } }