Share via


BigInteger.Factorial Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Computes the factorial of a big integer.

Namespace:  Microsoft.SolverFoundation.Common
Assembly:  Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)

Syntax

'Declaration
Public Shared Function Factorial ( _
    bn As BigInteger _
) As BigInteger
public static BigInteger Factorial(
    BigInteger bn
)
public:
static BigInteger Factorial(
    BigInteger bn
)
static member Factorial : 
        bn:BigInteger -> BigInteger 
public static function Factorial(
    bn : BigInteger
) : BigInteger

Parameters

Return Value

Type: Microsoft.SolverFoundation.Common.BigInteger
A BigInteger value that is the product of all whole numbers smaller than the argument passed into the Factorial method.

.NET Framework Security

See Also

Reference

BigInteger Structure

Microsoft.SolverFoundation.Common Namespace