| IntExtensions Class |
Namespace: Cimbalino.Toolkit.Extensions
public static class IntExtensions
The IntExtensions type exposes the following members.
| Name | Description | |
|---|---|---|
| IsPrime |
Indicates whether the value is a prime number.
| |
| PrimeFactors |
Generates a list with all the prime factors for the input number.
| |
| Range |
Generates a sequence of integral numbers within a specified range.
| |
| Times(Int32, Action) |
Repeats the specified Action the number of times.
| |
| Times(Int32, ActionInt32) |
Repeats the specified ActionT the number of times.
| |
| TimesT(Int32, FuncT) |
Repeats the specified FuncTResult the number of times.
| |
| TimesT(Int32, FuncInt32, T) |
Repeats the specified FuncT, TResult the number of times.
| |
| To |
Generates a sequence of integral numbers within a specified range.
|