GetCustomList Method (Int64, FuncInt64, Boolean)Mathos Core Library 1.0.5.1 (changeset 39720)
This documentation is compiled for the latest release of Mathos Core Library
Generates a custom list, which contains numbers that follow the custom rule.

Namespace: Mathos.Arithmetic.Numbers
Assembly: Mathos (in Mathos.dll) Version: 1.0.5.1 (1.0.5.1)
Syntax

public static IEnumerable<long> CustomList(
	long to,
	Func<long, bool> rule
)

Parameters

to
Type: SystemInt64
The number to end with
rule
Type: SystemFuncInt64, Boolean
You custom rule that the numbers should follow. (e.g. Check.IsPrime)

Return Value

Type: IEnumerableInt64
See Also

Reference