Example #1
0
        static RotorCollection()
        {
            var primeFinder = new PrimeLibrary.PrimeFinder();

            PrimeNumbers = primeFinder.GeneratePrimes(0, 1000).ToArray();
        }
Example #2
0
 /// <summary>
 /// Initializes the <see cref="RotorCollection"/> class.
 /// </summary>
 static RotorKeys()
 {
     primeFinder  = new PrimeLibrary.PrimeFinder();
     primeNumbers = primeFinder.GeneratePrimes(3, 1000).ToArray();
 }