Click or drag to resize

factorsFactors Method

Gets all the whole numbers that divide x.

Namespace:  NumberStone
Assembly:  WhetStone (in WhetStone.dll) Version: 1.0.4.0 (1.0.0.0)
Syntax
C#
public static IList<int> Factors(
	this int x
)

Parameters

x
Type: SystemInt32
The numbers to find factors of.

Return Value

Type: IListInt32
All the whole numbers that divide x

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Int32. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also