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