IntegerMath.Primes Method

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

Overload List

Primes() Enumerates all prime numbers less than MaxValue.
Primes(Int32) Enumerates all prime numbers less than the specified value..

Primes

Enumerates all prime numbers less than MaxValue.
C#
public static IEnumerable<int> Primes()

Return Value

IEnumerable<Int32>
An IEnumerable<T> of integers.

Primes(Int32)

Enumerates all prime numbers less than the specified value..
C#
public static IEnumerable<int> Primes(
	int maxValue
)

Parameters

maxValue  Int32
 

Return Value

IEnumerable<Int32>
An IEnumerable<T> of integers.

See Also