Class PrimeGenerator
A prime number generation algorithm using Sieve of Eratosthenes.
Inherited Members
Namespace: Advanced.Algorithms.Numerical
Assembly: Advanced.Algorithms.dll
Syntax
public class PrimeGenerator
Methods
GetAllPrimes(Int32)
Declaration
public static List<int> GetAllPrimes(int max)
Parameters
| Type | Name | Description |
|---|---|---|
| Int32 | max |
Returns
| Type | Description |
|---|---|
| List<Int32> |