Click or drag to resize
Cimbalino ToolkitIntExtensions Class
Provides a set of static (Shared in Visual Basic) methods for Int32 instances.
Inheritance Hierarchy
SystemObject
  Cimbalino.Toolkit.ExtensionsIntExtensions

Namespace: Cimbalino.Toolkit.Extensions
Assembly: Cimbalino.Toolkit.Core (in Cimbalino.Toolkit.Core.dll) Version: 2.2.1.0 (2.2.1.0)
Syntax
C#
public static class IntExtensions

The IntExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberIsPrime
Indicates whether the value is a prime number.
Public methodStatic memberPrimeFactors
Generates a list with all the prime factors for the input number.
Public methodStatic memberRange
Generates a sequence of integral numbers within a specified range.
Public methodStatic memberTimes(Int32, Action)
Repeats the specified Action the number of times.
Public methodStatic memberTimes(Int32, ActionInt32)
Public methodStatic memberTimesT(Int32, FuncT)
Public methodStatic memberTimesT(Int32, FuncInt32, T)
Public methodStatic memberTo
Generates a sequence of integral numbers within a specified range.
Top
Version Information

Portable

Supported in: 4.5

Windows

Supported in: 10.0, 8.1

Windows Phone

Supported in: 8.1

Windows Phone Silverlight

Supported in: 8.1, 8.0
See Also