Click or drag to resize

primesPrimes Method (Int32)

Get all prime numbers under a maximum bound.

Namespace:  NumberStone
Assembly:  WhetStone (in WhetStone.dll) Version: 1.0.4.0 (1.0.0.0)
Syntax
C#
public static IEnumerable<int> Primes(
	int max
)

Parameters

max
Type: SystemInt32
The maximum bound of the returned primes (exclusive).

Return Value

Type: IEnumerableInt32
All primes under max.
Remarks
See Also