예제 #1
0
        public static void Main(string[] args)
        {
            PrimeCollection pc = new PrimeCollection( );

            foreach (int n in pc)
            {
                Console.WriteLine(n);
            }
        }
예제 #2
0
        public static void Main(string[] args)
        {
            PrimeCollection pc = new PrimeCollection();

            foreach (int p in pc)
            {
                System.Console.WriteLine(p);
            }
        }
예제 #3
0
 public PrimeCollectionEnum(PrimeCollection p)
 {
     this.p = p;
 }