Mac Guides | Samples

MonoMac.OpenGL.MathHelper.Factorial Method

Calculates the factorial of a given natural number.

Syntax

public static Int64 Factorial (Int32 n)

Parameters

n
The number.

Returns

n!

Requirements

Namespace: MonoMac.OpenGL
Assembly: XamMac (in XamMac.dll)
Assembly Versions: 0.0.0.0