static void Main()
        {
            RandomCollection intRandom = new RandomCollection(10);

            foreach (var number in intRandom)
            {
                Console.WriteLine(number);
            }
        }