Beispiel #1
0
        static void Main(string[] args)
        {
            PrimeCollection x = new PrimeCollection();

            foreach (int val in x)
            {
                Console.WriteLine(val);
            }
        }
Beispiel #2
0
        static void Main(string[] args)
        {
            PrimeCollection pc = new PrimeCollection();

            foreach (int prime in pc)
            {
                Console.WriteLine(prime);
            }
        }