This documentation is compiled for the latest release of Mathos Core Library
Assembly: Mathos (in Mathos.dll) Version: 1.0.5.1 (1.0.5.1)
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 from, long to, Func<long, bool> rule )
Parameters
- from
- Type: SystemInt64
The number to start with - to
- Type: SystemInt64
The number to end with - rule
- Type: SystemFuncInt64, Boolean
You custom rule that the numbers should follow
Return Value
Type: IEnumerableInt64See Also