BigInteger.One Property


Gets a value that represents the number one (1).

Namespace:   System.Numerics
Assembly:  System.Numerics (in System.Numerics.dll)

public static BigInteger One { get; }

Property Value

Type: System.Numerics.BigInteger

An object whose value is one (1).

The One property is usually used to compare a BigInteger value to 1 or to assign 1 to a BigInteger object.

Universal Windows Platform
Available since 8
.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Available since 4.0
Windows Phone
Available since 8.1
Return to top